Jump to content
Search Community

sitherikb

Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by sitherikb

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

  2. Thanks!  I've many tweens where sometimes they have >0 durations, but sometimes they have to just jump to their destinations.  

     

    I could check for duration before tweening and call set or to depending.  But it feels cleaner to just use duration 0.

×
×
  • Create New...