Repository navigation
API Interface ControllerColliderHit
Defined in: src/plugins/physics/runtime/CharacterController.ts:14
Passed to onControllerColliderHit for each collider a CharacterController's move ran into.
readonly collider: Collider;Defined in: src/plugins/physics/runtime/CharacterController.ts:16
readonly controller: CharacterController;Defined in: src/plugins/physics/runtime/CharacterController.ts:15
readonly gameObject: GameObject;Defined in: src/plugins/physics/runtime/CharacterController.ts:17
readonly moveDirection: Vector3;Defined in: src/plugins/physics/runtime/CharacterController.ts:24
The direction of the move that hit it (unit length).
readonly moveLength: number;Defined in: src/plugins/physics/runtime/CharacterController.ts:26
How far the move went before the hit.
readonly normal: Vector3;Defined in: src/plugins/physics/runtime/CharacterController.ts:22
Surface normal of the collider at the point, world space.
readonly point: Vector3;Defined in: src/plugins/physics/runtime/CharacterController.ts:20
Contact point on the collider, world space.
readonly rigidbody: RigidBody | null;Defined in: src/plugins/physics/runtime/CharacterController.ts:18
This wiki is generated from docs/wiki/ and the myco module's source on every push to master. Change pages there in a pull request: edits made here are not kept.
Basics
Gameplay
Rendering
Audio
- Playing sound
- Why is there no sound?
- Playlists
- Interactive music
- Sound generators
- Spatial audio
- Audio mixer
- Live mixing
- Loudness
- Audio profiler
- Audio takes
Reference