setJointDriveLinearVelocity: Difference between revisions
(Created page with "{{RV|type=command |game1= arma3 |version1= 2.22 |branch= dev |arg= local |eff= local |serverExec= |gr1= Object Manipulation |descr= {{Wiki|WIP}} 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 ...") |
mNo edit summary |
||
Line 12: | Line 12: | ||
|serverExec= | |serverExec= | ||
|gr1= | |gr1= PhysX | ||
|descr= {{Wiki|WIP}} Requires that a linear "drive" has been configured in [[attachChild]]. | |descr= {{Wiki|WIP}} Requires that a linear "drive" has been configured in [[attachChild]]. |
Latest revision as of 12:53, 26 June 2025
Description
- Description:
- 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
Requires that a linear "drive" has been configured in - Groups:
- PhysX
Syntax
- 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 manipulated
- velocity: Array format Vector3D - relative velocity vector
- Return Value:
- Nothing
Examples
- Example 1:
- -no SQF code provided-
- Example 2:
- -no SQF code provided-
- Example 3:
- -no SQF code provided-
- Example 4:
- -no SQF code provided-
- Example 5:
- -no SQF code provided-
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note