How do I rotate a physic object 45 degrees

Get help using Construct 2

Post » Wed Jul 12, 2017 2:16 pm

how to rotate a physic object 45 degrees ? i have used rotate toward angle but it doesnt go well with other immovable physic objects, it passes through them. apply torque works fine but it rotates forever and i cant stop it to 45 degrees.
B
6
S
3
Posts: 40
Reputation: 698

Post » Wed Jul 12, 2017 2:38 pm

@Yann
B
6
S
3
Posts: 40
Reputation: 698

Post » Wed Jul 12, 2017 5:33 pm

I use something along the lines of every X seconds rotate clockwise/anti-clockwise. You can control the speed of the rotate with the X seconds. That's for a gradual rotate. For some kind of snap rotate 45 degrees you can just rotate clockwise/anti-clockwise 45 degrees.
B
46
S
16
G
78
Posts: 2,166
Reputation: 46,349

Post » Wed Jul 12, 2017 6:24 pm

@plinkie please can you provide a .capx ?
B
6
S
3
Posts: 40
Reputation: 698

Post » Wed Jul 12, 2017 9:02 pm

I'm not making a capx for a single event just try it out lol
B
46
S
16
G
78
Posts: 2,166
Reputation: 46,349

Post » Thu Jul 13, 2017 3:20 am

Please bro just screenshot the event..
B
6
S
3
Posts: 40
Reputation: 698

Post » Thu Jul 13, 2017 8:49 am

B
46
S
16
G
78
Posts: 2,166
Reputation: 46,349

Post » Thu Jul 13, 2017 12:07 pm

still have the problem with collisions with other physic immovable objects. It passes through them
B
6
S
3
Posts: 40
Reputation: 698

Post » Thu Jul 13, 2017 12:32 pm

Well that's an entirely different problem. If the object in question has physics behaviour and the immovable object has physics behaviour then they should collide. Anything obscure you will have to post a capx.
B
46
S
16
G
78
Posts: 2,166
Reputation: 46,349

Post » Thu Jul 13, 2017 1:15 pm

mrline wrote:still have the problem with collisions with other physic immovable objects. It passes through them


@mrline

It would save a create deal of pointless guesswork - and users time - if you just posted a .capx, as recommended in the Tips for Posting sticky from Tom.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
86
Posts: 5,415
Reputation: 59,516

Next

Return to How do I....?

Who is online

Users browsing this forum: hrisnz and 16 guests