RayHit

open class RayHit

Stores the results of ray intersection tests against various types of CollisionShape.

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open var distance: Float
Link copied to clipboard

Functions

Link copied to clipboard
open fun getWorldPosition(): Float3
Get the position in world-space where the ray hit the collision shape.
Link copied to clipboard
open fun reset()
Link copied to clipboard
open fun set(other: RayHit)