Skip to content
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 LookRotation for simd math #66

Closed
gemSender opened this issue Apr 29, 2019 · 4 comments
Closed

Add LookRotation for simd math #66

gemSender opened this issue Apr 29, 2019 · 4 comments

Comments

@gemSender
Copy link

It would be nice to add function 'ozz::math::SimdFloat4 LookRotation(ozz::math::SimdFloat4 forward, ozz::math::SimdFloat4 up)' ! Because it's very useful for building quaternion!

@guillaumeblanc
Copy link
Owner

That's a useful function indeed. Sounds very close to what I implemented for IK aim job. Is it?

If it is, it can probably be moved to the math section indeed. It would make sense to build a Float4x4 version as well.

@gemSender
Copy link
Author

Yes. But I use this library for physical games to build character's hit boxes. After local-to-model job, some joints will be selected as boxes's ending and starting points, I neet the function to determine the boxes's orientations, and give it to physx shapes attached to rigidbody as its local rotation.

@guillaumeblanc
Copy link
Owner

Have you solved your need?

@gemSender
Copy link
Author

Have you solved your need?

Yes, i solved this by another way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants