Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

WheelJoint2D.motor

Switch to Manual
public var motor: JointMotor2D;

Description

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

See Also: useMotor.