rotate towards angle

New releases and general discussions.

Post » Sat Jul 31, 2010 1:29 am

Nevermind, i found a rotateangle in the system expression, and used that. Its basicly what i wanted. :wink:
B
3
G
4
Posts: 54
Reputation: 1,183

Post » Sat Jul 31, 2010 2:45 am

I had a look at rotateangle also, couldn't get it to work right.

Glad you found a solution, i managed to make my system work in the mean time, so i may as well still post to mention that.

http://dl.dropbox.com/u/1487524/Scirra/ ... xample.cap
B
9
S
2
G
4
Posts: 346
Reputation: 2,726

Post » Sat Jul 31, 2010 4:56 am

Well, your system is ok, but this takes only one event for rotating back with the rotateangle.

http://www.mediafire.com/?l7lgltjdgrm733b
B
3
G
4
Posts: 54
Reputation: 1,183

Post » Sat Jul 31, 2010 5:15 am

It seems like i was using a value far too large in that expression.

I also like the new colour you gave my tank.
B
9
S
2
G
4
Posts: 346
Reputation: 2,726

Post » Sat Jul 31, 2010 8:50 am

This should show what lerp does.
[url:1c1yx3c3]http://dl.dropbox.com/u/666516/autorotate.cap[/url:1c1yx3c3]
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Mon Aug 02, 2010 1:09 am

Thanks for the lerp demo!
B
2
S
1
G
2
Posts: 35
Reputation: 870

Previous

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 5 guests