The Point1
property represents a specific point on the first physics body (Body1
) to which this joint is attached. It is of type PhysicsPoint
and is used to define the exact location on Body1
where the joint is connected.
The Point1
property represents a specific point on the first physics body (Body1
) to which this joint is attached. It is of type PhysicsPoint
and is used to define the exact location on Body1
where the joint is connected.
Use the Point1
property to get or set the attachment point on the first body of the joint. This is useful when you need to specify or modify the exact point of connection for the joint on Body1
.
// Assuming 'joint' is an instance of PhysicsJoint PhysicsPoint point1 = joint.Point1; // Set a new point joint.Point1 = new PhysicsPoint(new Vector3(1.0f, 0.0f, 0.0f));