How do I rotate physics objects correctly?

Get help using Construct 2

Post » Wed Nov 09, 2016 1:55 am

I have a problem with my game, as there is a movement button that rotates a object clockwise and one that rotates a object counter-clockwise.
The problem is that when it rotates it glitches somewhat and by that i mean the object overlays another physics object. These pictures are the problem I'm talking about, the first to of the object rotating both ways and the last picture is the object without the act of rotation.
Image
I would just like to know how to fix this or if there is a way to rotate the object with the physics behavior. I'm using the usual "rotate counter clockwise 1 degree" FYI.
B
27
S
12
G
5
Posts: 79
Reputation: 5,223

Post » Wed Nov 09, 2016 4:48 am

if your object has physics, just create another image point to the top and apply impulse or force towards angle u want that is 0 right, at image point 1 lets say and should automatically rotate(if you have allow rotation on the object physics option)
B
75
S
22
G
68
Posts: 1,336
Reputation: 43,269

Post » Wed Nov 09, 2016 7:23 am

That worked thanks so much!
B
27
S
12
G
5
Posts: 79
Reputation: 5,223


Return to How do I....?

Who is online

Users browsing this forum: dop2000, namaewayukidesu and 6 guests