the RigidBodySim being tested (to find index of body's vars)
the array of state variables for a set of RigidBodys
index of the body whose state variables are to be set
horiz position of the body
horiz velocity of the body
vertical position of the body
vertical velocity of the body
angle of the body
angular velocity of the body
Generated using TypeDoc
In an array of state variables for a set of RigidBody's, this sets the state variables for one RigidBody. This is used to define expected results of tests. NOTE: the simulation must already have the set of bodies added, so that this can find their index within the VarsList.