How to make objects rotate toward an object?

Get help using Construct 2

Post » Thu Apr 03, 2014 1:35 am

I know it is a silly question, and i even know one answer:

every tick > rotate 1 degree to X

But is there a less painful (for my CPU) way to make the same thing, and still archiving a smooth rotation towards a specific object? The problem is i have tons of those objects and making them check every thick (or even every 0.1 sec etc) is too CPU intensive, but i dont want them to rotate 30 degree at a time every 1 or few seconds...
B
65
S
22
G
4
Posts: 358
Reputation: 6,555

Post » Thu Apr 03, 2014 1:46 am

Use "Rotate towards position" and just add the X and Y position of the object you want to rotate towards and amount of degree. I don't think you can do it any less CPU intensive than that.
B
44
S
11
G
2
Posts: 1,182
Reputation: 6,838


Return to How do I....?

Who is online

Users browsing this forum: luckyrawatlucky, nahima and 5 guests