KimKong Posted March 22, 2020 Share Posted March 22, 2020 Hello, The example project, https://github.com/CodeAndWeb/panda2-physics-tutorial, does not work when upgrading the panda engine. The bodies does not appear to be moving. The problem shows up when upgrading to version 2.7.0. Does anyone know how to fix this? Kind regards, k Quote Link to comment Share on other sites More sharing options...
KimKong Posted March 22, 2020 Author Share Posted March 22, 2020 The issue was that with newer versions, the world does not step itself. To fix, add the following function to Main update: function() { this.world.step(1/60); }, Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.