API Reference

Class List

RaycastResult

Object holding the result of a successful raycast hit.

Summary

Properties

entity

The entity that was hit.

normal

The normal vector of the surface where the ray hit in world space.

point

The point at which the ray hit the entity in world space.

Details

Properties

Entityentity

The entity that was hit.

Vec3normal

The normal vector of the surface where the ray hit in world space.

Vec3point

The point at which the ray hit the entity in world space.