Physics.Arcade.Body#customSeparateX

customSeparateX : boolean

This flag allows you to disable the custom x separation that takes place by Physics.Arcade.separate.
Used in combination with your own collision processHandler you can create whatever type of collision response you need. Use a custom separation system or the built-in one?

Source code: physics/arcade/Body.js (Line 323)
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.