Jump to content
Search Community

Tweening quaternions

captainlardnicus test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hi, I've been playing with a gyroscope/compass/accelerometer libraries (namely, "fulltilt") and the data I'm getting does not match the frame rate of the device.

 

Normally, I would rely on TweenMax to smooth things out by just adding a tween every time it updates, but all the information I can see about tweening quaternions in TweenMax relates to the Flash plugin.

 

Has anyone animated (slerped?) quaternions with the HTML5 version of TweenMax?

 

 

Thanks!

Link to comment
Share on other sites

Yeah, we do have a QuaternionPlugin for ActionScript that could be ported to JavaScript. It does SLERP. You're the first person to ever request it. There are several other tools and enhancements we have in the schedule that we're working on, and QuaternionPlugin is pretty low on the priority list due to the lack of interest out there, but if you really need it for a project and want to contact us about hiring us on a consulting basis to knock that out sooner, feel free to PM me. Or take a look at the ActionScript one yourself and create a JS plugin. 

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...