just for problem-solving

just for problem-solving
10 Replies
otterpip
otterpipOP3y ago
because if this works then you know for sure that it's because of the conversion method
Bon Echo
Bon Echo3y ago
yeah you wouldnt want to try and represent a quaternion for troubleshooting lmao
otterpip
otterpipOP3y ago
yep XDD besides not experiencing gimbal lock what are some of the other benefits of quaternions?
Bon Echo
Bon Echo3y ago
just intuitive if ur working with other vectors you dont have to tan and hyp all your angles to interact with them
otterpip
otterpipOP3y ago
woaa
Bon Echo
Bon Echo3y ago
for example if ur rotating around a point if you need to do it in VR which doesnt rely on something like: if left key pressed {change x value by 5}, you can just use vectors to determine ur axis then rotate on that axis imo angle-axis is even more intuitive but quats can streamline more complex implementations
otterpip
otterpipOP3y ago
woa that's pretty cool @Nova oh also nova are you completely sure that the original ray is correct?
Malek
Malek3y ago
I'll bind this function real quick later today, is useful
Nova
Nova3y ago
it works fine for distance calculations
otterpip
otterpipOP3y ago
hmmm,,, if you have time you should try to make some debug tools to visualize rays an stuf like that

Did you find this page helpful?