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.
Yann
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.
— please can you provide a .capx ?
I'm not making a capx for a single event just try it out lol
Please bro just screenshot the event..
https://www.dropbox.com/s/ag81k6lh744j5y7/rot.jpg?dl=0
still have the problem with collisions with other physic immovable objects. It passes through them
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.
Develop games in your browser. Powerful, performant & highly capable.
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.
goo.gl/qZpfJ5
thats a demo .capx
is in touch = rotate 45 degrees
is not in touch = rotate -45 degrees
the physic object doesnt fall as it should but it gets stuck in the platform.
R0J0hound