struct
PhysicsPoint
public sealed struct PhysicsPoint Used to describe a point on a physics body. This is used for things like joints where you want to pass in just a body, or sometimes you want to pass in a body with a specific location and rotation to attach to.
Constructors
PhysicsPoint(PhysicsBody body, Vector3? localPosition, Rotation? localRotation) Properties
Methods
static PhysicsPoint Local(PhysicsBody body, Vector3? localPosition = null, Rotation? localRotation = null) static PhysicsPoint World(PhysicsBody body, Vector3? worldPosition = null, Rotation? worldRotation = null) Fields
| Name | Type | Description |
|---|---|---|
Body | PhysicsBody | The physics body this point is attached to. |
LocalPosition | Vector3 | Position offset from the body's position. |
LocalRotation | Rotation | Rotation offset from the body's position. |