Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

var motor: JointMotor2D;
JointMotor2D motor;
motor as JointMotor2D

Description

Parameters for a motor force that is applied automatically to the Rigibody2D along the line.

See Also: useMotor.