AddTorque

From MaratisWiki
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