*SetPointmassBodyIC() - all point mass bodies in a system
Sets the initial conditions for all point mass bodies in a system.
Syntax
*SetPointmassBodyIC(sys_name|BODIES, vx, vy, vz)
Arguments
- sys_name
- The variable name of an existing system.
- BODIES
- If BODIES is specified, the initial conditions for all point mass bodies in the current system are set.
- vx, vy, vz
- Initial translational velocity along the X, Y, and Z coordinates.
Example
*System(sys_frnt, "Front suspension", sysdef_frnt, b_body)
*SetPointmassBodyIC(sys_frnt, 1000, 0, 0)
*SetPointmassBodyIC(sys_frnt.b_wheel, , , 100)
*System(sys_driveline, "Driveline", sysdef_driveline, sys_frnt.b_wheel)
*SetSystem(sys_driveline)
*SetBodyIC(BODIES, model_sys_frnt.b_wheel.vx, , model.sys_frnt.b_wheel.wz)