Skip to content

API Interface PhysicsControllerHit

github-actions[bot] edited this page Dec 2, 2026 · 3 revisions

Interface: PhysicsControllerHit

Defined in: src/engine/core/Component.ts:148

What both character controllers' hits have (ControllerColliderHit2D and ControllerColliderHit have more).

Properties

collider

readonly collider: Component;

Defined in: src/engine/core/Component.ts:150


controller

readonly controller: Component;

Defined in: src/engine/core/Component.ts:149


gameObject

readonly gameObject: GameObject;

Defined in: src/engine/core/Component.ts:151


rigidbody

readonly rigidbody: Component | null;

Defined in: src/engine/core/Component.ts:152

Clone this wiki locally