Body |
The physics object that was hit, if any |
Direction |
The direction of the trace ray |
EndPosition |
The end or hit position of the trace |
Fraction |
A fraction [0..1] of where the trace hit between the start and the original end positions |
Hit |
Whether the trace hit something or not |
HitPosition |
The hit position of the trace |
Normal |
The hit surface normal (direction vector) |
Shape |
The physics shape that was hit, if any |
StartedSolid |
Whether the trace started in a solid |
StartPosition |
The start position of the trace |
Surface |
The physical properties of the hit surface |
Tags |
The tags that the hit shape had |
Triangle |
The triangle index hit, if we hit a mesh <see cref="T:Sandbox.PhysicsShape">physics shape</see> |