struct PhysicsPoint

in global :: Sandbox . Physics

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.


public PhysicsBody Body

The physics body this point is attached to.

public Vector3 LocalPosition

Position offset from the body's position.

public Rotation LocalRotation

Rotation offset from the body's position.

public Transform LocalTransform { get; }

A transform relative to , containing and with scale of 1.

public Transform Transform { get; }

Transform of this point in world space.

public static PhysicsPoint op_Implicit( PhysicsBody body )

😔 No documentation found.

public static PhysicsPoint Local( PhysicsBody body, Nullable<Vector3> localPosition = null, Nullable<Rotation> localRotation = null )

😔 No documentation found.

public static PhysicsPoint World( PhysicsBody body, Nullable<Vector3> worldPosition = null, Nullable<Rotation> worldRotation = null )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public PhysicsPoint( PhysicsBody body, Nullable<Vector3> localPosition = null, Nullable<Rotation> localRotation = null )

😔 No documentation found.