Host typegenerated
RayHit3d
Copied closest 3D ray/shape-cast hit, optional where no hit exists. World-space point/normal and world-unit distance; editing fields never changes simulation geometry.
4 members · engine 0.1.0
RayHit3d.distance: numberWorld-unit ray distance or shape centre travel, including zero for initial overlap.RayHit3d.entity: EntityThe active entity whose collider piece was hit.RayHit3d.normal: Vec3World-space outward Vec3 normal; zero for an inside/on or initial-overlap hit.RayHit3d.point: Vec3World-space Vec3 hit/contact position; probe origin for an initial shape overlap.
- Source
- docs/generated/decay-api.json
- Schema
- v1
- Engine version
- 0.1.0
- Source commit
909aca81368b