Skip to content

API Interface PhysicsControllerHit

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

Interface: PhysicsControllerHit

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

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

Properties

collider

readonly collider: Component;

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


controller

readonly controller: Component;

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


gameObject

readonly gameObject: GameObject;

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


rigidbody

readonly rigidbody: Component | null;

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

Clone this wiki locally