Skip to content

@orillusion/physics-rapier


Interface: RaycastHit ​

Defined in: packages/physics-rapier/query/PhysicsQuery.ts:19

Properties ​

rigidbody ​

rigidbody: Rigidbody

Defined in: packages/physics-rapier/query/PhysicsQuery.ts:20


collider ​

collider: Collider

Defined in: packages/physics-rapier/query/PhysicsQuery.ts:21


point ​

point: Vector3

Defined in: packages/physics-rapier/query/PhysicsQuery.ts:23

World-space hit point.


normal ​

normal: Vector3

Defined in: packages/physics-rapier/query/PhysicsQuery.ts:25

World-space surface normal at the hit.


toi ​

toi: number

Defined in: packages/physics-rapier/query/PhysicsQuery.ts:27

Time-of-impact along the ray (= distance for unit-length direction).

Released under the MIT License