disableBrakes: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (Created page with "{{RV|type=command |game1= arma3 |version1= 2.08 |branch= dev |arg= local |eff= global |gr1= Object Manipulation |descr= Disables autobrake, which is engaged when vehicle i...") |
Killzone Kid (talk | contribs) No edit summary |
||
Line 21: | Line 21: | ||
|x1= <code>mycar [[disableBrakes]] [[true]];</code> | |x1= <code>mycar [[disableBrakes]] [[true]];</code> | ||
|seealso= [[brakesDisabled]] [[awake]] [[isAwake]] [[addTorque]] [[addForce]] [[vectorModelToWorld]] [[vectorModelToWorldVisual]] [[selectionPosition]] | |seealso= [[brakesDisabled]] [[awake]] [[isAwake]] [[addTorque]] [[addForce]] [[vectorModelToWorld]] [[vectorModelToWorldVisual]] [[selectionPosition]] [[setVelocityTransformation]] [[setVelocityModelSpace]] | ||
}} | }} |
Revision as of 15:13, 29 November 2021
Description
- Description:
- Disables autobrake, which is engaged when vehicle is stationary and stops wheels from rotating freely when vehicle is pushed.
- Groups:
- Object Manipulation
Syntax
- Syntax:
- transport disableBrakes disable
- Parameters:
- transport: Object - PhysX car or tank
- disable: Boolean - true to disable autobrake. The autobrake is re-enabled if the driver uses brakes
- Return Value:
- Nothing
Examples
- Example 1:
mycar disableBrakes true;
Additional Information
- See also:
- brakesDisabled awake isAwake addTorque addForce vectorModelToWorld vectorModelToWorldVisual selectionPosition setVelocityTransformation setVelocityModelSpace
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