sm.localPlayer.getRaycastStart

Returns the start position of the local player's raycast. The position depends on the camera's position, and whether it's in first- of third-person.

Kind: Function

Environments: Game

Game

sm.localPlayer.getRaycastStart(  )

Open the full Game reference

Availability: Client only

Returns:

Type Description
Vec3 The start position of the raycast.