adamk33n3r Posted April 14, 2015 Share Posted April 14, 2015 Hey everyone, I've been experimenting with Phaser for the past week or so and I found that the physics seems....squishy. Like when say a block lands on the ground it goes into it a bit before popping up. And if you take your player and jump onto the block it sags into the ground. Another thing that happens is when you move left, pushing a block into a wall the block goes into the wall a bit and you into the block as well. How can I make it so that the bodies do not do this? How can I make them hard? I have increased the gravity quite dramatically as I like fast gravity so I'm sure that has something to do with it but I'm not willing to give that up. There must be a way to resist going into other bodies, right? Adam drhayes 1 Link to comment Share on other sites More sharing options...
rich Posted April 14, 2015 Share Posted April 14, 2015 Which physics system are you using? Link to comment Share on other sites More sharing options...
ben_a_adams Posted April 14, 2015 Share Posted April 14, 2015 There's a good talk from Glenn Fiedler about games physics and what makes things squishy, feel hard, light, heavy and issues and consequences from this http://gdcvault.com/play/1022195/Physics-for-Game-Programmers-Networking mariogarranz 1 Link to comment Share on other sites More sharing options...
adamk33n3r Posted April 19, 2015 Author Share Posted April 19, 2015 Sorry for the late response. I didn't notice. @rich: I tried it with both Arcade and P2. Link to comment Share on other sites More sharing options...
drhayes Posted April 27, 2015 Share Posted April 27, 2015 I have these rock columns that sprout up from the ground in my game and they are set immovable, e.g. rockColumn.body.immovable = true. That prevents them from getting separated by impacts... but that might not work for falling blocks like you have. Have you played around with that property? Link to comment Share on other sites More sharing options...
valueerror Posted April 27, 2015 Share Posted April 27, 2015 http://www.html5gamedevs.com/topic/13724-get-rid-of-small-bounce-back-effect-on-collision-with-p2-physics/ i think this is about the same problem Link to comment Share on other sites More sharing options...
Recommended Posts