[DiscordArchive] Bad like in the database?
[DiscordArchive] Bad like in the database?
Archived author: Nix • Posted: 2024-07-16T17:19:59.796000+00:00
Original source
Bad like in the database?
Archived author: Nix • Posted: 2024-07-16T17:20:04.536000+00:00
Original source
What does that mean?
Archived author: radzior • Posted: 2024-07-16T17:20:45.723000+00:00
Original source
Ty bro, this is what I ment. I looked through this file "find in file" but I missed it.
Archived author: Titi • Posted: 2024-07-16T17:20:49.604000+00:00
Original source
the rotation is only in a vec3 here, in the database it's stored as quat + orientation float
Archived author: Nix • Posted: 2024-07-16T17:21:02.207000+00:00
Original source
You would want to store a quat ideally
Archived author: Nix • Posted: 2024-07-16T17:21:12.294000+00:00
Original source
It prevents deadlocking on rotation, can be a mess
Archived author: Titi • Posted: 2024-07-16T17:21:34.096000+00:00
Original source
for importing that makes it easier
Archived author: Nix • Posted: 2024-07-16T17:21:34.374000+00:00
Original source
But it's not surprising they don't send the quat itself, as it's just converted back on the other side
Archived author: Nix • Posted: 2024-07-16T17:21:54.101000+00:00
Original source
Quats are kinda annoying compared to Euler
Archived author: Titi • Posted: 2024-07-16T17:22:54.762000+00:00
Original source
it took me days to figure out how to convert noggit client rotation to server quat, because there's also the server-client going on at the same time, flipping axis etc