How do I rotate a physic object 45 degrees

Get help using Construct 2

» 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

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

» 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
48
S
19
G
87
Posts: 2,317
Reputation: 51,518

» Wed Jul 12, 2017 6:24 pm

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

» Wed Jul 12, 2017 9:02 pm

I'm not making a capx for a single event just try it out lol
B
48
S
19
G
87
Posts: 2,317
Reputation: 51,518

» Thu Jul 13, 2017 3:20 am

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

» Thu Jul 13, 2017 8:49 am

B
48
S
19
G
87
Posts: 2,317
Reputation: 51,518

» 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

» 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
48
S
19
G
87
Posts: 2,317
Reputation: 51,518

» 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
141
S
31
G
88
Posts: 5,746
Reputation: 61,505

Next