b2JointFactory Class
Constructor
b2JointFactory
()
static
Methods
create
(
b2Joint
public
static
-
jointDef
-
[allocator]
Parameters:
-
jointDef
B2JointDef -
[allocator]
optional
Returns:
destroy
(
Void
public
-
joint
-
[allocator]
Override this method to define your joint destruction behaviour.
Callback function called during World.step upon b2Joint destruction. body.destroyJoint(){ b2JointFactory.destroy() }
Parameters:
-
joint
b2Joint -
[allocator]
optional
Returns:
Void: