Appearance
Interface: MotorJointOpt
Motor joint definition.
Extends
Extended by
Properties
angularOffset?
optionalangularOffset:number
The bodyB angle minus bodyA angle in radians.
collideConnected?
optionalcollideConnected:boolean
Set this flag to true if the attached bodies should collide.
Inherited from
correctionFactor?
optionalcorrectionFactor:number
Position correction factor in the range [0,1].
linearOffset?
optionallinearOffset:Vec2Value
Position of bodyB minus the position of bodyA, in bodyA's frame, in meters.
maxForce?
optionalmaxForce:number
The maximum motor force in N.
maxTorque?
optionalmaxTorque:number
The maximum motor torque in N-m.
style?
optionalstyle:Style
Styling for dev-tools.
Inherited from
userData?
optionaluserData:any
Use this to attach application specific data to your joints.