2021-05-11 18:30:36 -07:00

899 B
Raw Permalink Blame History

Planck.js API Doc › Globals › RayCastInput

Interface: RayCastInput

Ray-cast input data. The ray extends from p1 to p1 + maxFraction * (p2 - p1).

Hierarchy

  • RayCastInput

Index

Properties

Properties

maxFraction

• maxFraction: number

Defined in src/collision/AABB.ts:40


p1

• p1: Vec2

Defined in src/collision/AABB.ts:38


p2

• p2: Vec2

Defined in src/collision/AABB.ts:39