Search the Community
Showing results for tags 'move text'.
-
Hi there! How can I show Node element one after one on scrollTrigger?! What it behaves now: All text nodes are going to center and once they reach center of window, all of them are vanishing at the same time (autoAlpha: 0) What I expect: Each node element goes to the center one after one. Basically, when the first element starts to vanish, the second one start to move to the center. And this chain loops until last one vanishes. Here is a minimal demo: https://stackblitz.com/edit/nuxt-starter-vulayy?file=components%2FTruckSimulator.vue,app.vue P.s.: I kinda feel this can be done by "position". But I am not sure how to do that
-
Hi guys! I've been trying to figure out how to do a text that interacts with a object. With the text being push away from an object when it's near the object. I tried using on several physics library and it seems most of them are overkill and hard to control. (For example, its hard to bind the text back to its original position as the collision library either makes it a static or a dynamic [reacting to gravity]. ) Currently, there is what is on my head. Correct me if i'm wrong. I probably need to make use requestAnimationFrame to constantly detect the collision. As the collision object will probably be a constantly changing object. I can't seems to wrap my head around on how to create a Tween function that pushes a characters (near colliding object) out and then back when its not near the colliding object. Any help is appreciated