mirror of
https://github.com/wassname/phaser.git
synced 2026-06-27 16:10:15 +08:00
ArcadePhysics.setBoundsToWorld implemented. Body.setCircle, setRectangle and setPolygon all working. Tidying up Body class. Need to add tile collision special case handler next.
This commit is contained in:
@@ -71,6 +71,7 @@ Significant API changes:
|
||||
* Body.rebound is a boolean that controls if a body will exchange velocity on collision. Set to false to allow it to be 'pushed' (see new examples).
|
||||
* Removed Body.deltaAbsX and deltaAbsY as they are no longer used internally.
|
||||
* Body.screenX and screenY moved to getters, no longer calculated every frame.
|
||||
* ArcadePhysics now has setBounds and setBoundsToWorld, and you can specify which walls are created or not (left, right, up, down)
|
||||
|
||||
|
||||
New features:
|
||||
|
||||
Reference in New Issue
Block a user