Interface IMotorEnabledJoint
Hierarchy
- IMotorEnabledJoint
Implemented by
Index
Properties
Methods
Properties
physics JointSearch playground for physicsJoint
Physics joint
Methods
set LimitSearch playground for setLimit
-
Sets the limit of the motor
Parameters
-
upperLimit: number
The upper limit of the motor
-
Optional lowerLimit: number
The lower limit of the motor
-
Optional motorIndex: number
The index of the motor
Returns void
-
set MotorSearch playground for setMotor
-
Sets the motor of the motor-enabled joint
Parameters
-
Optional force: number
The force of the motor
-
Optional maxForce: number
The maximum force of the motor
-
Optional motorIndex: number
The index of the motor
Returns void
-
Interface for a motor enabled joint
https://doc.babylonjs.com/how_to/using_the_physics_engine