Skip to content

Provide a way to reset the playerΒ #24

@HenryLoenwind

Description

@HenryLoenwind

Please provide a way to reset the player, i.e. to set a provided position and look vector, cancel all abilities, and cancel all momentum.

Use cases:

  • Teleporting the player around the map
  • Changing the environment around the player
  • Returning from a pause/menu screen

While this can be accomplished by unloading and loading the player scene, doing so is overkill and may have further-reaching impacts. For example, I have all kinds of menu screens and overlays tied to the player scene node (that's where the camera is, after all...) that are connected with all kinds of exports and signals to the game logic:

image

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions