dot big bang

Developer API
Menu

Class ColliderIntersection

All
  • Public
  • Public/Protected
  • All

Hierarchy

  • ColliderIntersection

Index

Constructors

Properties

Constructors

constructor

Properties

distance

distance: number

The distance, in world units, from the origin of the ray/line segment or capsule to the intersection point on the surface of the Collider of the Entity.

entity

entity: Entity

The Entity which Collider was hit by the ray/line segment or capsule.

normal

normal: Vector3

The normal, in world space, of the surface the resulting point lies.

point

point: Vector3

The point, in world space, where the VoxelObject of the Entity got hit by the intersection ray/line segment or capsule.