Method CreateFixed
CreateFixed(BodyFrame, BodyFrame)
Create a Fixed joint.
Declaration
public static PhysicsJoint CreateFixed(BodyFrame bodyAFromJoint, BodyFrame bodyBFromJoint)
Parameters
Type | Name | Description |
---|---|---|
BodyFrame | bodyAFromJoint | Specifies a reference point and orientation in the space of body A. |
BodyFrame | bodyBFromJoint | Specifies a target point and orientation in the space of body B. |
Returns
Type | Description |
---|---|
PhysicsJoint | The new fixed joint. |