AddTorque

From MaratisWiki
Revision as of 01:27, 9 February 2014 by Dahnielson (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

addTorque(object, vector, local)

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).

  • object : object to operate on
  • vector : vector
  • local : local
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox