Player Enter Warp Portal component
The Player Enter Warp Portal allows you to instantly move a player to any location in the world.
Property
Property | Function |
---|---|
Target | A reference to a Transform that specifies where the player will move. |
Keep Position | When enabled, players will not be moved to the Target position even if they enter the Player Enter Warp Portal. |
Keep Rotation | When enabled, it will maintain the original orientation when the player moves to the Target position. When disabled, the orientation of the Target is reflected. |
Details
At least one Collider component is required at the same level as the Player Enter Warp Portal component in order to make a collision detection with the player.
Also, if you want to give collision detection to child colliders, Rigidbody must be attached to the same level as the Player Enter Warp Portal component.