struct PhysicsTraceResult
😔 No documentation found.
public bool Hit
Whether the trace hit something or not
public bool StartedSolid
Whether the trace started in a solid
public Vector3 StartPosition
The start position of the trace
public Vector3 EndPosition
The end or hit position of the trace
public Vector3 HitPosition
The hit position of the trace
public Vector3 Normal
The hit surface normal (direction vector)
public float Fraction
A fraction [0..1] of where the trace hit between the start and the original end positions
public PhysicsBody Body
The physics object that was hit, if any
public PhysicsShape Shape
The physics shape that was hit, if any
public Surface Surface
The physical properties of the hit surface
public int Bone { get; }
The id of the hit bone (either from hitbox or physics shape)
public Vector3 Direction
The direction of the trace ray
public int Triangle
The triangle index hit, if we hit a mesh physics shape
public string[] Tags
The tags that the hit shape had
public float Distance { get; }
The distance between start and end positions.
public Type GetType( )
😔 No documentation found.
public string ToString( )
😔 No documentation found.
public int GetHashCode( )
😔 No documentation found.
public bool Equals( object obj )
😔 No documentation found.