HitResult
Functions
Function Name | Return Type | Description | Tags |
---|---|---|---|
GetPosition() | Vector | Get position of hit in world space | None |
GetRelativePosition() | Vector | Get position of hit relative to the Entity hit | None |
GetNormal() | Vector | Get normal direction of hit in world space | None |
GetRelativeNormal() | Vector | Get normal direction of the hit relative to the rotation of the Entity hit | None |
GetPartName() | Vector | get the name of the part of the entity that was hit. For example a headshot on a player character will return 'head' | None |