Jump to content
GreenSock

SntsDev

Members
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • Gender
    Male

SntsDev's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Thanks Blake!, I ended up doing something very similar, although I called it a "hack". I think that Greensock´s comment goes to the point. I'm going to develop a plug-in for Three.js objects and I'll post it here.
  2. Hello there! I'm using TimelineMax to make a sequence for 3D objects using Three.js. So far so good, when working with numerical properties of objects. But I'd like to set true/false properties and use the state of the timeline. I know I can do my own functions (onComplete, onStart,...) but that requires me to keep control of the state while the timeline is playing, which is similar to create my own timeline function. The idea is to be able to scrub the playhead. So I used .set, both in TimelineMax or TweenMax to no luck. For instance: tm = new TimelineMax({align: start}); tm.add( new TweenMax(camera.position, 10, {x:100, y:100, z:100}), 1); //Works well tm.set(target, { visible: false }, 4); //Doesn't work tm.add( TweenMax.set(target, { visible: false, immediateRender: false, delay: 4}, 0); //Neither tm.add( TweenMax.set(target, { visible: false, immediateRender: false}, 4); //Neither Any ideas? Thanks
×