Constructor
new Box2dPinJoint(objectA, objectB, posopt, collideopt)
Create a pin joint
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
objectA | Box2dObject | |||
objectB | Box2dObject | |||
pos | Vector2 | <optional> | ||
collide | boolean | <optional> | false |
- Source
Extends
- Box2dDistanceJoint