# drag, rotate object with ease.

Get help using Construct 2

### » 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
29
S
12
G
7
Posts: 740
Reputation: 7,849

### » 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
29
S
12
G
7
Posts: 740
Reputation: 7,849

### » Thu Mar 01, 2012 10:35 pm

anglelerp?
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

### » 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
29
S
12
G
7
Posts: 740
Reputation: 7,849

### » Thu Mar 01, 2012 10:54 pm

It's like normal lerp really. anglelerp(a,b,x) ie. anglelerp(sprite.angle, 90,dt)
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

### » 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
29
S
12
G
7
Posts: 740
Reputation: 7,849

### » 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

### » Sun Nov 11, 2012 3:06 am

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

### » Sun Mar 03, 2013 11:19 am

Anyone got an idea about how to achieve that ?
B
21
S
9
G
4
Posts: 197
Reputation: 4,105

### » Sun Mar 03, 2013 8:20 pm

B
79
S
24
G
54
Posts: 4,755
Reputation: 40,773

Next