Jump to content
Search Community

rotationY 90 not stopping where expected

sitherikb test
Moderator Tag

Go to solution Solved by Carl,

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

Two questions about my sketch.

 

[1]

I expected my tween to rotation: 90 to stop directly on top of the white line in my sketch.  

What am I doing wrong?

Note: there are going to be many of these planes spinning around together so I applied "perspective" to the parent #a instead of transformPerspective (as described here https://greensock.com/css3/ )

 

[2] 

What values would I adjust to make the bottom of the red panel never dip below the bottom of the blue line?  It is okay if the panel swings above the top green line.  I want it to look like the "camera" is on the floor, watching a door open.

 

See the Pen bdQrVQ by jedierikb (@jedierikb) on CodePen

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...