AddTorque
(Difference between revisions)
(Created page with "Add a torque (angular force) to an object. Make sure Physics and the mass of the object is enabled in the object proprieties, otherwise it won't rotate. The "local" argument i...") |
Dahnielson (Talk | contribs) |
||
Line 1: | Line 1: | ||
Add a torque (angular force) to an object. Make sure Physics and the mass of the object is enabled in the object proprieties, otherwise it won't rotate. | Add a torque (angular force) to an object. Make sure Physics and the mass of the object is enabled in the object proprieties, otherwise it won't rotate. | ||
The "local" argument is optional (local coordinates), without it the transformation is global (global coordinates). | The "local" argument is optional (local coordinates), without it the transformation is global (global coordinates). | ||
+ | |||
+ | [[Category:Lua scripting]] |
Revision as of 19:06, 4 February 2014
Add a torque (angular force) to an object. Make sure Physics and the mass of the object is enabled in the object proprieties, otherwise it won't rotate. The "local" argument is optional (local coordinates), without it the transformation is global (global coordinates).