Line cast hit result from Physics.LineCast.
IsCharacter
bool
true
Whether or not the LineCast hit a player
IsMapObject
Whether or not the LineCast hit a MapObject
Point
Vector3
The hit point.
Normal
The normal vector of the face that was hit by the LineCast.
Distance
float
The distance between the LineCast origin and the hit point.
Collider
object
The collider hit by the LineCast.
Last updated 1 year ago