Verwendungen von Klasse
net.risingworld.api.utils.RaycastResult
-
Verwendungen von RaycastResult in net.risingworld.api.objects
Modifizierer und TypMethodeBeschreibungvoid
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.