Hamish
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by Hamish
-
-
Hello!
I'm attempting to use TweenMax to animate an elements 3d rotation from 0 to 360deg but it's not working — it seems the shortRotation type behaviour is happening but I'm unsure if TweenMax is doing this or if the browsers itself (Chrome) is causing the behaviour.
Here's a fiddle of the problem: http://jsfiddle.net/YjVU4/
If you change the rotation to, for example, "180deg" it works fine.
gsap and rotate3d
in GSAP
Posted
Cheers, was so obvious in the end!Edit:
This still doesn't work using rotate3d specifically, despite the parent having a perspective property. You can see from this fiddle that TweenMax simply doesn't do anything to the element itself:
http://jsfiddle.net/YjVU4/