Richard Davey
5b4423d6f3
Merge pull request #5135 from samme/feature/collide-use-static-tree
...
Always use static tree for collision checks
2020-07-13 12:03:18 +01:00
Richard Davey
2f48e5ee00
Merge pull request #5134 from samme/feature/arcade-physics-collisions-perf
...
Arcade Physics collisions optimizations
2020-07-13 12:02:38 +01:00
Richard Davey
b2a67754df
Merge pull request #5115 from samme/docs/body-drag-type
...
Correct docs corrections
2020-07-13 11:47:18 +01:00
samme
dd7976699d
Docs: grammar
2020-06-01 09:57:36 -07:00
samme
f374a4c045
Docs: Body descriptions
...
'boundary' is ambiguous, given the other bounds
2020-05-08 10:50:11 -07:00
samme
35672274bc
Docs: Correct description in ArcadeWorldConfig
2020-05-08 10:46:08 -07:00
samme
928ac2c31c
Docs for Phaser.Physics.Arcade.Body#facing
2020-05-06 10:26:27 -07:00
samme
b2eb6bfc43
Docs: Phaser.Physics.Arcade.World#useTree
...
Static bodies are always kept in an RTree
2020-05-05 15:32:49 -07:00
samme
62f0cf732a
Always search the static tree
2020-05-05 10:47:21 -07:00
samme
d80e4f5824
Skip intersects check by argument
2020-05-04 22:06:24 -07:00
samme
992af0b15e
Fast path for overlapOnly
2020-05-03 23:17:27 -07:00
samme
db8db69575
Correct type for Phaser.Physics.Arcade.Body#drag
...
Fixes #5100
2020-04-29 11:18:56 -07:00
Richard Davey
ba76f61109
Merge pull request #4995 from samme/fix/checkCollision-none-vs-tile
...
Fix checkCollision none for tile collisions; and optimizations
2020-04-27 12:32:40 +01:00
Richard Davey
625ca20a0e
Fix lint error introduced by #4989
2020-04-27 12:02:30 +01:00
Richard Davey
c8e0f91083
Merge pull request #4989 from jjcapellan/syncToRender
...
New property Arcade.World.fixedStep
2020-04-27 12:01:24 +01:00
Richard Davey
70a4b9843e
Merge pull request #5038 from halilcakar/master
...
Update JSDocs for events
2020-04-27 11:51:40 +01:00
samme
c0e5f201cd
Docs: Arcade Physics collisions
2020-04-23 10:50:33 -07:00
samme
a47408030b
Docs: Phaser.Physics.Arcade.Components.Friction
2020-04-21 15:08:49 -07:00
samme
d17c004787
Docs: correct description for Arcade.Body#drag
...
Fixes #5100
2020-04-21 11:10:43 -07:00
samme
700d3b7316
Physics groups descriptions
2020-03-21 09:46:31 -07:00
halilcakar
43f26ad31f
Update JSDocs for events
2020-03-10 11:11:43 +03:00
samme
68db7d086e
Exit early for checkCollision.none on bodyB
2020-03-04 12:47:58 -08:00
jjcapellan
327748bbbf
Refactoring syncToRender to fixedStep
2020-02-28 18:47:44 +01:00
samme
3c2fac2101
Exit early for checkCollision.none
2020-02-08 17:17:02 -08:00
samme
e100ce6593
checkCollision.none should prevent tile collisions
2020-02-08 17:15:02 -08:00
jjcapellan
7e4c08c270
Added new property syncToRender
2020-02-06 19:58:43 +01:00
Richard Davey
58d40fa9e0
Cache the vars
2020-02-04 23:56:50 +00:00
Richard Davey
1a493caa4b
Merge pull request #4970 from samme/fix/arcade-body-setSize-center
...
Fix centering in Body#setSize()
2020-02-04 11:26:17 +00:00
samme
7d5673a0c7
Fix wrong body dimensions from a scaled game object
2020-02-01 17:25:15 -08:00
samme
a312d03843
Docs for Phaser.Physics.Arcade.StaticBody
...
`offset` is read only
2020-02-01 16:30:25 -08:00
samme
c07c57f9f8
Correct center
2020-02-01 16:27:02 -08:00
samme
a13d623743
Correct dimensions from game object
2020-02-01 16:20:46 -08:00
samme
37c64dc0a9
Correct center
in constructor
2020-02-01 16:19:10 -08:00
samme
34176becb5
Correct position
in constructor
2020-02-01 16:18:52 -08:00
samme
bc39e70412
Fix centering Body in setSize()
2020-01-27 11:15:06 -08:00
Richard Davey
4a6b2087f7
Fixed internal callback handlers
2020-01-15 12:45:59 +00:00
Richard Davey
ff65e69cd1
Changed copyright date to 2020
2020-01-15 12:07:09 +00:00
Richard Davey
c3940e15c6
PhysicsGroup
now uses the new internalCreateCallback
and internalRemoveCallback
to handle its body creation and destruction, allowing you to use your own createCallback
and removeCallback
as defined in the Group config. Fix #4420 #4657 #4822
2020-01-14 23:57:48 +00:00
Richard Davey
fb7f66838a
Marked width/height as readonly and added docs. Fix #4806
2020-01-14 22:45:55 +00:00
Richard Davey
8b9819b8f7
Merge pull request #4949 from samme/fix/collideSpriteVsSprite
...
Check for disabled body in collideSpriteVsGroup()
2020-01-13 11:34:36 +00:00
Andrew Brampton
e42f227ec2
Update documentation and one import, to use the consistent name of Vector2
.
...
There were examples that used Vec2, which wouldn't work. For example `An array of Point or Vector2 objects: [new Phaser.Math.Vec2(x1, y1), ...]` was not copy and pastable.
2020-01-11 06:46:25 -08:00
samme
eacb61e109
Check for disabled body in collideSpriteVsGroup()
2020-01-09 19:45:11 -08:00
samme
fa57f74b8f
Docs for Arcade Physics
2019-12-12 08:14:53 -08:00
Richard Davey
7ae124ff6e
Docs fix.
2019-12-09 08:57:24 +00:00
Richard Davey
44ff20d07e
Added deltaXFinal
and deltaYFinal
methods.
2019-12-09 08:55:37 +00:00
Richard Davey
dc6b080091
Merge pull request #4874 from samme/feature/overlapCirc
...
Add ArcadePhysics#overlapCirc()
2019-11-20 22:02:15 +00:00
Richard Davey
e5421c4ebf
Fixed namespace #4873
2019-11-20 22:00:17 +00:00
Richard Davey
ce2dbb7095
Merge pull request #4873 from samme/feature/group-type
...
Add `type` for Group, Arcade.Group, Arcade.StaticGroup
2019-11-20 21:54:10 +00:00
samme
b0f99db47d
Add ArcadePhysics#overlapCirc()
2019-11-20 12:21:53 -08:00
samme
8585541e15
Add type
for Group, PhysicsGroup, StaticPhysicsGroup
2019-11-20 11:53:38 -08:00