Dragging rotation

Get help using Construct 2

Post » Fri May 03, 2013 4:25 pm

Did you download the example in the last post? Its the same link but I had updated it.

What you should be seeing is the ball rotating to where you hold the mouse, click and hold somewhere else and it rotates from its end position to your new angle.

In your example you have the object angle set to your mouse, that's why it snaps to the location and follows the mouse so crisply. If my example is rotating too slowly then change the degree value from 1 to 3 etc and it will speed up to the same effect.GenkiGenga2013-05-03 16:28:24
ImageImage
B
72
S
16
G
6
Posts: 1,038
Reputation: 10,448

Post » Fri May 03, 2013 4:48 pm

Yes I tried it but I would like the ball angle to actually follow the touch element and not to snap to the new angle or rotate to it.

This is a good way to do it but just not THE thing I'm after. I really think I saw an earlier post saying something about storing the object angle in a variable or something and then recalling it on the next touch.. Maybe it was a dream, it seems..
B
10
S
2
Posts: 27
Reputation: 1,231

Post » Fri May 03, 2013 5:27 pm

Hmm, well I am confused. :)

Sorry I couldn't help Chef. I'm sure you will get what you want with enough mucking around.
ImageImage
B
72
S
16
G
6
Posts: 1,038
Reputation: 10,448

Post » Fri May 03, 2013 6:41 pm

Thanks anyways!! Yeah, I'm sure it can be done.. When it's ready, I'll post it here just to show what I mean.
B
10
S
2
Posts: 27
Reputation: 1,231

Post » Sat May 04, 2013 5:30 am

Capx Link


After a good night sleep, I started fiddling with C2 and found out it was an easy fix to do. It's not pretty, but as said, it does the thing!
B
10
S
2
Posts: 27
Reputation: 1,231

Previous

Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, jeffige, LeFuji, plinkie, Radulepy, Yahoo [Bot] and 1 guest