ultimateCharacterLocomotion setPositionAndRotation VS Respawn

dereklam0528

New member
What is the major difference between setPositionAndRotation and Respawn at particular position?

I assume setPositionAndRotation using the ultimateCharacterLocomotion class will let existing character status remain the same, such as inventory or item etc. But Respawn will reset everything to default? Is that right?
 
Respawn will send the OnRespawn event to the character game object. There are many components which respond to this event, e.g. the Inventory loads the default loadout as you said, the Health attribute will reset its value, etc.
 
Top