setJointDriveLinearVelocity
- Local argument
- Local effect
- Arma 3 v2.22
Command · Markdown · JSON · original wiki page
Description
Requires that a linear "drive" has been configured in attachChild. Sets the joints target velocity (orientation relative to the joint's own orientation). The drive will then behave like a spring (springParameters are configured in the drive), trying to accelerate the child object to the desired velocity. Similar to setVelocityModelSpace
Syntax
joint setJointDriveLinearVelocity velocity
Parameters:
joint: Object or NetObject - The parent vehicle that has a joint to a child, or the joint itself to be manipulatedvelocity: Vector3D - relative velocity vector
Returns: Nothing
Examples
Example 1
Example 2
Example 3
Example 4
Example 5
See also
attachChild · setJointDrivePosition · setJointDriveOrientation · setJointDriveAngularVelocity