HumanRaycastHitInfo¶
Stores raycast data used for collision detection of weapons.
Variables¶
- FirePosition (Vector)
- 3D position that the weapon was fired from.
- TargetPos (Vector)
- 3D position that the weapon was aiming at.
- HitPoint (Vector)
- 3D position that the raycast impacted at.
- HitLocation (ObjectHitLocations)
- If the ray hit a human this represents the location on their body it impacted. This is an enum value.
- HitBone (int)
- If the ray hit a human this will be the index of the bone it hit.