Character Controller Teleport
Safely teleport a CharacterController to a world position.
This action temporarily disables the CharacterController, moves its Transform, syncs physics, then restores the controller's enabled state. Use it for warps, respawns, portals, checkpoints, or any move that should happen instantly instead of through normal CharacterController movement.
Parameters
| Parameter | Description |
|---|---|
| CharacterController | Target CharacterController. |
| Position | World position to teleport to. |
| Set Rotation | Enable this to also set a new world rotation. If disabled, the current rotation is preserved. |
| Rotation | World rotation to use when Set Rotation is enabled. |
Notes
- The action runs once when the state executes.
- Physics transforms are synced after the teleport.
- The CharacterController is restored to its previous enabled state after the move.
- If you only need normal movement with collision response, use CharacterController.Move-based actions instead.