hi i would like to achive this kind action, i have an arrowe who need to turn exaclty like the sword in this video.
how can i achive that?
https://youtu.be/UxSo_2v2rj8?t=434
Use LiteTween behavior with one of the "elastic" functions.
how to tell to stop at random angle?
like the sword in the link
solved with round(random(1,5))
i have a problem with it, how to tell to my arrow to continue the next rotation from his actual angle when i click??
Are you using LiteTween? Here is how:
https://imgur.com/M5xpu8z
Develop games in your browser. Powerful, performant & highly capable.
Are you using LiteTween? Here is how: https://imgur.com/M5xpu8z
Would you mind creating a .capx of how this would work? I'm not even sure I have the behavior installed after getting my new PC.
I think you might be able to add 360 to it.. to overshoot it.
depends on what method you are using to rotate it.
> Are you using LiteTween? Here is how: > https://imgur.com/M5xpu8z > Would you mind creating a .capx of how this would work? I'm not even sure I have the behavior installed after getting my new PC.
> Are you using LiteTween? Here is how:
> https://imgur.com/M5xpu8z
>
Here you go:
https://www.dropbox.com/s/3c7a3kz4djl73ql/test6.capx?dl=0
You'll need to install LiteTween behavior (I posted the link earlier) to open my CAPX.
thanks for your help how to tell now to my ap, when the arrow has finished rotating with litetween then remove x from a variable?
LiteTween has a bunch of events.
You can use Arrow->LiteTween->On Tween End to do whatever you need at the end of rotation.
SOLVED (thanks)