Jump to content
  • Advertisement
Sign in to follow this  
MurphyIdiot

Support for Quaternion Orientation in EPIC

This topic is 3933 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am using EPIC (http://www.mindcontrol.org/~hplus/epic/) in my game and was wondering if anyone has added support for quaternion based orientation prediction into it. Or if anyone has a suggestion on how to handle orientation prediction in a similar way to how EPIC predicts position.

Share this post


Link to post
Share on other sites
Advertisement
EPIC uses a template, so you could instantiate it with <4, float> as arguments.
The output you get won't be normalized, so normalize after you read a value.
Other ways of interpolating a quaternion might be to interpolate in axis-angle space, or interpolating in Euler angle space. You might want to experiment with converting to/from different spaces when interpolating.

Share this post


Link to post
Share on other sites
Thanks hplus! Using 4 floats and normalizing the quaternion did the trick.

Thanks for the great extrapolator. We plan to use it for all sorts of networking goodness on Zero Gear.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!