11 hours ago
In C# scripting, how can I use the range function to generate a sequence of integers? What is the syntax for range? Sometimes I need a large set of numbers, like range(5, 19).
PHP Code:
public void simulationStep()
{
Point3[] targetPositions = new Point3[] {new Point3(0,0,10), new Point3(10,0,0),new Point3(0,10,0)};
int[] targetIDs = new int[] {1,3,9};
int[] bd = new int[] {5,7,13};
for(int i=0; i<targetIDs.Length; i++)
{
tf.SetPos(targetIDs[i], targetPositions[i]);
tf.NewBind(targetIDs[i],bd[i],0,0,0);
}