Using Rotate Towards angle will make it turn towards that angle instead of instantly jump to it. Every tick (or every .017 seconds) Player and Nearest platform dont have the same angle, move it a few pixels at a time. I would guess about 3 pixels.
Using Rotate Towards angle will make it turn towards that angle instead of instantly jump to it.
Every tick (or every .017 seconds) Player and Nearest platform dont have the same angle, move it a few pixels at a time. I would guess about 3 pixels.
Thank you
Develop games in your browser. Powerful, performant & highly capable.
Never tried this before but you should be able to pick nearest platform of your Player location. Set Player angle = platform angle
Thank you, but how else can I implement this with a smooth turn to the desired angle?
Sorry for the stupid question, I need the "Player" to lean depending on the angle of the platform on which it stands, how to implement it correctly?
Screenshot for example