MafiaHub / MafiaMP

Multiplayer experience for Mafia: Definitive Edition
https://mafiahub.dev
Other
39 stars 5 forks source link

Fix player direction when teleported #59

Closed Deewarz closed 7 months ago

Deewarz commented 7 months ago

Fix https://github.com/MafiaHub/MafiaMP/issues/45

I went for the solution of using rotation quaternion to calculate the direction.

This will do the job until we find a way to preload the world.

Also I fixed the values ​​for the positions in the debug UIs to cover the entire map.