*SetJointIC() - symmetric joint pair
Sets symmetric initial conditions of a joint pair.
Syntax
*SetJointIC(joint_name, LEFT|RIGHT,
[TRANS|ROT], ic_disp, ic_vel)
Arguments
- joint_name
- The variable name of an existing joint pair.
- LEFT RIGHT
- If LEFT is specified, the properties are assigned to the left joint, and the right joint properties are made symmetric to the left joint.
- TRANS ROT
- This argument indicates whether the initial condition values are translational or rotational.
- ic_disp
- The initial displacement of the specified side of the joint pair.
- ic_vel
- The initial velocity of the specified side of the joint pair.
Example
*SetJointIC(cyl_joint, LEFT, TRANS, 5, 1)
Context
Comments
TRANS or ROT is required only for cylindrical joints. For all other joints, this argument may be left blank.