Search
Preparing search index...
The search index is not available
CocosCreatorAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
dynamics
b2MotorJointDef
Class b2MotorJointDef
Hierarchy
b2JointDef
b2MotorJointDef
Implements
b2IJointDef
b2IMotorJointDef
Index
Constructors
constructor
Properties
angular
Offset
bodyA
bodyB
collide
Connected
correction
Factor
linear
Offset
max
Force
max
Torque
type
user
Data
Methods
Initialize
Constructors
constructor
new b2
Motor
Joint
Def
(
)
:
b2MotorJointDef
Returns
b2MotorJointDef
Properties
angular
Offset
angular
Offset
:
number
= 0
bodyA
bodyA
:
b2Body
bodyB
bodyB
:
b2Body
collide
Connected
collide
Connected
:
boolean
= false
correction
Factor
correction
Factor
:
number
= 0.3
Readonly
linear
Offset
linear
Offset
:
b2Vec2
= new b2Vec2(0, 0)
max
Force
max
Force
:
number
= 1
max
Torque
max
Torque
:
number
= 1
Readonly
type
type
:
b2JointType
= b2JointType.e_unknownJoint
user
Data
user
Data
:
any
= null
Methods
Initialize
Initialize
(
bA
:
b2Body
, bB
:
b2Body
)
:
void
Parameters
bA:
b2Body
bB:
b2Body
Returns
void
Globals
node_
modules\@cocos\box2d\src\dynamics
b2
Motor
Joint
Def
constructor
angular
Offset
bodyA
bodyB
collide
Connected
correction
Factor
linear
Offset
max
Force
max
Torque
type
user
Data
Initialize
Generated using
TypeDoc