CollisionCastResult

A result of collision cast.

Properties

Link copied to clipboard
val distance: Float

The distance from the ray origin to the collision point, or the convex shape travel distance, or the cone projection distance.

Link copied to clipboard

The entity that was hit.

Link copied to clipboard

The normal of the collision point in given space.

Link copied to clipboard

The position of the collision point in given space.

Link copied to clipboard
val shapeIndex: Int

The index of the collision's shapeResource in the CollisionComponent's shapes array.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String