I'm working on a platformer and to get the gameplay I'm looking for I'd like the player to collide with walls as if the walls were static bodies, but for walls to still behave as dynamic bodies in all other collisions. (That is to say, collisions with anything that isn't the player.)
Is there a good way of doing that? The solution that seems most natural to me is to modify the contact/impulses in PostSolve, but I experimented for a while and couldn't figure out how to do it.
Thanks!
Is there a good way of doing that? The solution that seems most natural to me is to modify the contact/impulses in PostSolve, but I experimented for a while and couldn't figure out how to do it.
Thanks!