drag, rotate object with ease.

Get help using Construct 2

Post » Thu Mar 01, 2012 10:34 pm

Hi guys I have no idea how to do this.

Think of a DJ decks, the DJ would rotate them with his hands, in this case a mouse, And he can throw them, so when he throws them it will spin realistically and ease into a stop.

Can anyone help me out? without using the physics object? I know how to do it with the physics object.

Thanks!
B
30
S
13
G
7
Posts: 740
Reputation: 7,994

Post » Thu Mar 01, 2012 10:34 pm

Oh I would upload a capx but as I am stumped on this I do not really have one!
B
30
S
13
G
7
Posts: 740
Reputation: 7,994

Post » Thu Mar 01, 2012 10:35 pm

anglelerp?
ImageImageImageImage
B
155
S
62
G
41
Posts: 2,587
Reputation: 34,414

Post » Thu Mar 01, 2012 10:49 pm

Thanks, But I have never used angle lerp so I do not know what I'm doing..
B
30
S
13
G
7
Posts: 740
Reputation: 7,994

Post » Thu Mar 01, 2012 10:54 pm

It's like normal lerp really. anglelerp(a,b,x) ie. anglelerp(sprite.angle, 90,dt)
ImageImageImageImage
B
155
S
62
G
41
Posts: 2,587
Reputation: 34,414

Post » Thu Mar 01, 2012 10:55 pm

But I dont think I need angle lerp, because I want to be able to throw the object so it will rotate and then ease to a stop. I think its more complex maths.
B
30
S
13
G
7
Posts: 740
Reputation: 7,994

Post » Sun Nov 11, 2012 1:55 am

I need the same thing...
anyone solved it?
I'm new here! ;-)
B
6
S
2
G
3
Posts: 8
Reputation: 2,280

Post » Sun Nov 11, 2012 3:06 am

what is lerp?
B
9
S
3
Posts: 148
Reputation: 1,743

Post » Sun Mar 03, 2013 11:19 am

Anyone got an idea about how to achieve that ?
B
29
S
13
G
5
Posts: 227
Reputation: 5,305

Post » Sun Mar 03, 2013 8:20 pm

B
88
S
30
G
89
Posts: 5,109
Reputation: 60,329

Next

Return to How do I....?

Who is online

Users browsing this forum: PauloMarcio, Phacanu and 2 guests