Search
Preparing search index...
The search index is not available
CocosCreatorAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
dynamics
b2PulleyJointDef
Class b2PulleyJointDef
Hierarchy
b2JointDef
b2PulleyJointDef
Implements
b2IJointDef
b2IPulleyJointDef
Index
Constructors
constructor
Properties
bodyA
bodyB
collide
Connected
ground
AnchorA
ground
AnchorB
lengthA
lengthB
local
AnchorA
local
AnchorB
ratio
type
user
Data
Methods
Initialize
Constructors
constructor
new b2
Pulley
Joint
Def
(
)
:
b2PulleyJointDef
Returns
b2PulleyJointDef
Properties
bodyA
bodyA
:
b2Body
bodyB
bodyB
:
b2Body
collide
Connected
collide
Connected
:
boolean
= false
Readonly
ground
AnchorA
ground
AnchorA
:
b2Vec2
= new b2Vec2(-1, 1)
Readonly
ground
AnchorB
ground
AnchorB
:
b2Vec2
= new b2Vec2(1, 1)
lengthA
lengthA
:
number
= 0
lengthB
lengthB
:
number
= 0
Readonly
local
AnchorA
local
AnchorA
:
b2Vec2
= new b2Vec2(-1, 0)
Readonly
local
AnchorB
local
AnchorB
:
b2Vec2
= new b2Vec2(1, 0)
ratio
ratio
:
number
= 1
Readonly
type
type
:
b2JointType
= b2JointType.e_unknownJoint
user
Data
user
Data
:
any
= null
Methods
Initialize
Initialize
(
bA
:
b2Body
, bB
:
b2Body
, groundA
:
b2Vec2
, groundB
:
b2Vec2
, anchorA
:
b2Vec2
, anchorB
:
b2Vec2
, r
:
number
)
:
void
Parameters
bA:
b2Body
bB:
b2Body
groundA:
b2Vec2
groundB:
b2Vec2
anchorA:
b2Vec2
anchorB:
b2Vec2
r:
number
Returns
void
Globals
node_
modules\@cocos\box2d\src\dynamics
b2
Pulley
Joint
Def
constructor
bodyA
bodyB
collide
Connected
ground
AnchorA
ground
AnchorB
lengthA
lengthB
local
AnchorA
local
AnchorB
ratio
type
user
Data
Initialize
Generated using
TypeDoc