paulo Posted August 30, 2017 Share Posted August 30, 2017 Hi, I'm creating a game that player can walk over terrains with lots of slopes. How can I make my player rotate accordingly to the angle of the slope? This is how it's currently working: And this is how is must work (I've changed the angle manually): I'm using Box2D plugin to generate the terrain accordingly to an image. That's the reason of all these bodies. Thanks!! Link to comment Share on other sites More sharing options...
Aerion Posted August 30, 2017 Share Posted August 30, 2017 PLEASE do this in Babylon.js in 3D... Allow the player to slide down steep slopes <3 Link to comment Share on other sites More sharing options...
paulo Posted August 30, 2017 Author Share Posted August 30, 2017 5 minutes ago, Mythros said: PLEASE do this in Babylon.js in 3D... Allow the player to slide down steep slopes <3 It's a project for my university course. I need it in Phaser. Link to comment Share on other sites More sharing options...
Recommended Posts