PhysicsJoint

PhysicsJoint

Base class for physics joints, for example hinge or balljoint.

Constructor

new PhysicsJoint(settingsopt)

Parameters:
Name Type Attributes Description
settings Object <optional>
Properties
Name Type Attributes Default Description
connectedEntity Entity <optional>
collideConnected boolean <optional>
false

Members

collideConnected :boolean

Indicates if the connected entities should collide.

connectedEntity :Entity

The entity connected