How do I Make a loot at lerp

Get help using Construct 2

Post » Tue Sep 20, 2016 10:31 am

ok here is my ship that have the rotation set to look at mouse
but i want that rotation to be lerp and also slow depend on the skill adjusting a rot speed variable
any idea how i could do this ? ty :D

i always accept any capx :P
B
28
S
9
G
3
Posts: 136
Reputation: 3,775

Post » Tue Sep 20, 2016 3:58 pm

You need to have a speed parameter that you feed into your lerp function. Then you can change this speed parameter to modify the speed at which the ship rotates.
https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
23
S
6
G
1
Posts: 1,419
Reputation: 4,857

Post » Tue Sep 20, 2016 4:53 pm

kiugetski wrote:ok here is my ship that have the rotation set to look at mouse
but i want that rotation to be lerp and also slow depend on the skill adjusting a rot speed variable
any idea how i could do this ? ty :D

i always accept any capx :P


Like this? :mrgreen:

https://www.dropbox.com/s/2k33bypd5wvy1 ... .capx?dl=0
B
11
S
6
G
15
Posts: 256
Reputation: 9,207

Post » Tue Sep 20, 2016 10:37 pm

Gmoney wrote:
kiugetski wrote:ok here is my ship that have the rotation set to look at mouse
but i want that rotation to be lerp and also slow depend on the skill adjusting a rot speed variable
any idea how i could do this ? ty :D

i always accept any capx :P


Like this? :mrgreen:

https://www.dropbox.com/s/2k33bypd5wvy1 ... .capx?dl=0


thx a lot :D i love ya :D
B
28
S
9
G
3
Posts: 136
Reputation: 3,775

Post » Wed Sep 21, 2016 2:33 am

You're always welcome, kiugetski. :D
B
11
S
6
G
15
Posts: 256
Reputation: 9,207


Return to How do I....?

Who is online

Users browsing this forum: R0J0hound and 27 guests