i want to make a cube (platform) that rotate if the player clicked on one of invisible objects but its doesent work!!!
Sorry for my bad english!
Capx:
Well, it does rotate... how exactly do you want it to move.
I want to rotate it it with lerp and only in angles:
0
90
180
and only like this
I make an other method and it works bu t over 5 or 6 moves it completely..
See that:
Why not use what's already there - i.e. behaviours, etc. Here's my lazy approach:
ok, but i need that with lerp
Why do you need the lerp?
Develop games in your browser. Powerful, performant & highly capable.
just for easing
I love easing