Search
Preparing search index...
The search index is not available
CocosCreatorAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
dynamics
b2Joint
Class b2Joint
Hierarchy
b2Joint
b2DistanceJoint
b2AreaJoint
b2FrictionJoint
b2PrismaticJoint
b2RevoluteJoint
b2GearJoint
b2MotorJoint
b2MouseJoint
b2PulleyJoint
b2RopeJoint
b2WeldJoint
b2WheelJoint
Index
Constructors
constructor
Properties
m_
bodyA
m_
bodyB
m_
collide
Connected
m_
edgeA
m_
edgeB
m_
index
m_
island
Flag
m_
next
m_
prev
m_
type
m_
user
Data
Methods
Dump
Get
AnchorA
Get
AnchorB
Get
BodyA
Get
BodyB
Get
Collide
Connected
Get
Next
Get
Reaction
Force
Get
Reaction
Torque
Get
Type
Get
User
Data
Init
Velocity
Constraints
Is
Active
Set
User
Data
Shift
Origin
Solve
Position
Constraints
Solve
Velocity
Constraints
Constructors
constructor
newb2
Joint
(
def
:
b2IJointDef
)
:
b2Joint
Parameters
def:
b2IJointDef
Returns
b2Joint
Properties
m_
bodyA
m_
bodyA
:
b2Body
m_
bodyB
m_
bodyB
:
b2Body
m_
collide
Connected
m_
collide
Connected
:
boolean
= false
Readonly
m_
edgeA
m_
edgeA
:
b2JointEdge
= new b2JointEdge(this)
Readonly
m_
edgeB
m_
edgeB
:
b2JointEdge
= new b2JointEdge(this)
m_
index
m_
index
:
number
= 0
m_
island
Flag
m_
island
Flag
:
boolean
= false
m_
next
m_
next
:
b2Joint
|
null
= null
m_
prev
m_
prev
:
b2Joint
|
null
= null
Readonly
m_
type
m_
type
:
b2JointType
= b2JointType.e_unknownJoint
m_
user
Data
m_
user
Data
:
any
= null
Methods
Dump
Dump
(
log
:
(
format
:
string
,
...
args
:
any
[]
)
=>
void
)
:
void
Parameters
log:
(
format
:
string
,
...
args
:
any
[]
)
=>
void
(
format
:
string
,
...
args
:
any
[]
)
:
void
Parameters
format:
string
Rest
...
args:
any
[]
Returns
void
Returns
void
Abstract
Get
AnchorA
Get
AnchorA<T>
(
out
:
T
)
:
T
Type parameters
T
:
XY
Parameters
out:
T
Returns
T
Abstract
Get
AnchorB
Get
AnchorB<T>
(
out
:
T
)
:
T
Type parameters
T
:
XY
Parameters
out:
T
Returns
T
Get
BodyA
Get
BodyA
(
)
:
b2Body
Returns
b2Body
Get
BodyB
Get
BodyB
(
)
:
b2Body
Returns
b2Body
Get
Collide
Connected
Get
Collide
Connected
(
)
:
boolean
Returns
boolean
Get
Next
Get
Next
(
)
:
b2Joint
|
null
Returns
b2Joint
|
null
Abstract
Get
Reaction
Force
Get
Reaction
Force<T>
(
inv_dt
:
number
, out
:
T
)
:
T
Type parameters
T
:
XY
Parameters
inv_dt:
number
out:
T
Returns
T
Abstract
Get
Reaction
Torque
Get
Reaction
Torque
(
inv_dt
:
number
)
:
number
Parameters
inv_dt:
number
Returns
number
Get
Type
Get
Type
(
)
:
b2JointType
Returns
b2JointType
Get
User
Data
Get
User
Data
(
)
:
any
Returns
any
Abstract
Init
Velocity
Constraints
Init
Velocity
Constraints
(
data
:
b2SolverData
)
:
void
Parameters
data:
b2SolverData
Returns
void
Is
Active
Is
Active
(
)
:
boolean
Returns
boolean
Set
User
Data
Set
User
Data
(
data
:
any
)
:
void
Parameters
data:
any
Returns
void
Shift
Origin
Shift
Origin
(
newOrigin
:
XY
)
:
void
Parameters
newOrigin:
XY
Returns
void
Abstract
Solve
Position
Constraints
Solve
Position
Constraints
(
data
:
b2SolverData
)
:
boolean
Parameters
data:
b2SolverData
Returns
boolean
Abstract
Solve
Velocity
Constraints
Solve
Velocity
Constraints
(
data
:
b2SolverData
)
:
void
Parameters
data:
b2SolverData
Returns
void
Globals
node_
modules\@cocos\box2d\src\dynamics
b2
Joint
constructor
m_
bodyA
m_
bodyB
m_
collide
Connected
m_
edgeA
m_
edgeB
m_
index
m_
island
Flag
m_
next
m_
prev
m_
type
m_
user
Data
Dump
Get
AnchorA
Get
AnchorB
Get
BodyA
Get
BodyB
Get
Collide
Connected
Get
Next
Get
Reaction
Force
Get
Reaction
Torque
Get
Type
Get
User
Data
Init
Velocity
Constraints
Is
Active
Set
User
Data
Shift
Origin
Solve
Position
Constraints
Solve
Velocity
Constraints
Generated using
TypeDoc