Closed gemSender closed 4 years ago
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.
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.
Have you solved your need?
Have you solved your need?
Yes, i solved this by another way
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!