| Body |
The physics object that was hit, if any |
| Bone |
The id of the hit bone (either from hitbox or physics shape) |
| Collider |
The Collider that was hit |
| Component |
The Component that was hit |
| 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 |
| GameObject |
The GameObject that was hit |
| Hit |
Whether the trace hit something or not |
| Hitbox |
The hitbox that we hit |
| HitPosition |
The hit position of the trace. Requires Sandbox.SceneTrace.UseHitPosition(System.Boolean). |
| Normal |
The hit surface normal (direction vector) |
| Scene |
|
| 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> |