public struct LuaCastHit

Data received from CastRay(...)


public GameObjectWrapper GetHitObject()

(Client) Get the hit object.

Returns: (GameObject) The hit object.


public LuaVector3 GetHitPosition()

(Client) Get the hit position.

Returns: (Vector3) The hit position.


public LuaVector3 GetHitNormal()

(Client) Get the hit normal.

Returns: (Vector3) The hit normal.