This website requires JavaScript.
Explore
Help
Sign In
Mirrors
/
phaser
Watch
2
Star
0
Fork
You've already forked phaser
0
mirror of
https://github.com/photonstorm/phaser
synced
2024-12-19 09:34:02 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
c0c3fef420
phaser
/
src
/
physics
History
photonstorm
19f8a7316e
ArcadePhysics.Body.syncBounds is a new property that if true forces the Body to check itself against the Sprite.getBounds() dimensions and adjust its width and height accordingly. If false it will compare its dimensions against the Sprite scale instead, and adjust its width height if the scale has changed. Typically you would need to enable
syncBounds
if your sprite is the child of a responsive display object such as a FlexLayer, or in any situation where the sprite scale doesn't change, but its parents scale is effecting the dimensions regardless.
2015-04-29 13:13:26 +01:00
..
arcade
ArcadePhysics.Body.syncBounds is a new property that if true forces the Body to check itself against the Sprite.getBounds() dimensions and adjust its width and height accordingly. If false it will compare its dimensions against the Sprite scale instead, and adjust its width height if the scale has changed. Typically you would need to enable
syncBounds
if your sprite is the child of a responsive display object such as a FlexLayer, or in any situation where the sprite scale doesn't change, but its parents scale is effecting the dimensions regardless.
2015-04-29 13:13:26 +01:00
ninja
Copyright date change.
2015-02-25 03:36:23 +00:00
p2
P2.getConstraints would return an array of null objects. It now returns the raw p2 constraint objects (thanks @valueerrorx
#1726
)
2015-04-13 12:12:18 +01:00
Physics.js
Added in all hooks required for MatterJS Physics (coming soon!)
2015-04-13 16:16:34 +01:00