Uses of Class
net.risingworld.api.utils.RaycastResult
-
Uses of RaycastResult in net.risingworld.api.objects
Modifier and TypeMethodDescriptionvoid
Player.raycast
(float distance, int layerMask, boolean includeTriggers, Callback<RaycastResult> callback) Performs a raycast from the player view position to the player view direction.void
Player.raycast
(int layerMask, Callback<RaycastResult> callback) Performs a raycast from the player view position to the player view direction.void
Player.raycast
(Vector3f direction, float distance, int layerMask, boolean includeTriggers, Callback<RaycastResult> callback) Performs a raycast from the player view position to the provided direction.void
Player.raycastFromScreenPosition
(float x, float y, boolean relative, float distance, int layerMask, boolean includeTriggers, Callback<RaycastResult> callback) Performs a raycast from the screen xy position.void
Player.raycastFromWorldPosition
(Vector3f position, Vector3f direction, float distance, int layerMask, boolean includeTriggers, Callback<RaycastResult> callback) Performs a raycast from a world position.