Skip to content

API Interface PhysicsControllerHit

github-actions[bot] edited this page Nov 29, 2026 · 3 revisions

Interface: PhysicsControllerHit

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

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

Properties

collider

readonly collider: Component;

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


controller

readonly controller: Component;

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


gameObject

readonly gameObject: GameObject;

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


rigidbody

readonly rigidbody: Component | null;

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

Clone this wiki locally