-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a function to rotate vector with a quaternion #195
Comments
quaternion/src/quaternion/__init__.py Lines 654 to 711 in c22f938
|
Oh, there is already exists this function. It should be probably added to readme. Sorry, i should read docs more carefully. |
README != docs |
Ok, thank you. Cool library! |
For anyone else that finds this and is wondering why the hell that workaround returns a quaternion array, this should be the actual code:
I think it would be helpful to add something of the sort to the object class, so that one can just do Edit: Nevermind, this doesn't seem to be working. I'm open to suggestions. |
A. Quaternion multiplication is a thing, and it's not the same as rotation. |
I want to rotate a vector with a quaternion. And currently there is no builtin function for that. I suggest to add a builtin function to make a rotation with a single function, and not a 4-step operations.
The text was updated successfully, but these errors were encountered: