If I release it anywhere on the screen, how to make the object ease/tween to start position?
I added cos(), but it seems it only gets the last value, so there's no animation.
capx
db.tt/9JFvrPox
thx
Is something like this what you are looking for?
Drag and Lerp
If so I'll get you the capx
Develop games in your browser. Powerful, performant & highly capable.
exacttly y�!
that's what I'm looking for!
(sorry, my dog helped type the previous message)
California
Here is the capx.
Lerping can be a Drag
Say, is that a Bijon ya got there? Sure is cute!
"(sorry, my dog helped type the previous message)"
You should see what happens when my parrot messes with my messages.
Holler if you need help. If you live in Cali we are in the same time zone.
Edit
Hang on my links not working. I'll be back.
Should be working now.
Pin! Damn, that's a very hidden behavior!
That's the inlaws' puppy, maltese or bolognese, we don't know! LOL, say hi to your parrot
And thanks for the CAPX!
Just noticed there's a great parallax effect!