Hey everyone, I’d really appreciate some help with a doubt I’ve got. I’ve got a revive mechanic in a game I’m making (as part of my class; I’m a student), which works the following way:
Consider that character (C) is dying, and character (R) is going to revive it.
- Before C dies, its class and transform are shared with R.
- When C dies, it is deleted from the game.
- When R uses the revive mechanic, a new C is spawned using the class and transform R has stored with it.
The problem I currently have is that the forward vector of the new C is always (1,0,0), whereas the old C died with a different forward vector. What do you guys think could be the problem?