Richard Davey
|
96298cf920
|
Added new resetFlags method and willStep and delta arguments to preUpdate .
|
2019-06-19 15:31:29 +01:00 |
|
Richard Davey
|
b917a0611f
|
ESLint fix
|
2019-06-19 09:46:38 +01:00 |
|
Richard Davey
|
57fd8c9ce1
|
Merge pull request #4540 from BdR76/patch-2
drawDebug, display checkCollision sides
|
2019-06-19 09:28:31 +01:00 |
|
Richard Davey
|
77859b1cdf
|
Calling Arcade Physics Body.reset on a Game Object that doesn't have any bounds, like a Container, would throw an error about being unable to access getTopLeft . If this is the case, it will now set the position to the given x/y values
|
2019-06-11 18:20:56 +01:00 |
|
Markus Appel
|
5ff9b20668
|
Correct docs of arcade physics body member
|
2019-06-09 12:22:15 +02:00 |
|
BdR76
|
717c89d79b
|
Changed if-statements to multiple lines
Changed the if-statements to multiple lines as per ESLint config
|
2019-05-31 13:15:23 +02:00 |
|
BdR76
|
f28df06bcf
|
drawDebug, display checkCollision sides
drawDebug, instead of rectangle only draw the sides where checkCollision is true, similar to debugger in layer
|
2019-05-19 14:49:15 +02:00 |
|
Richard Davey
|
c91ed91ce3
|
License link update
|
2019-05-10 16:15:04 +01:00 |
|
Richard Davey
|
fbe2470f99
|
Arcade Physics Types
|
2019-05-09 12:33:37 +01:00 |
|
Richard Davey
|
dcf2d44f4a
|
Removed un-used properties
|
2019-05-03 17:38:37 +01:00 |
|
Richard Davey
|
bf741e962c
|
Restored Arcade Physics v1 and merged in all the core changes
|
2019-05-03 17:28:06 +01:00 |
|
Richard Davey
|
3075e088c7
|
Added directX and directY properties as well as setDirectPosition method.
|
2019-04-01 23:15:00 +01:00 |
|
Richard Davey
|
64d8f928d0
|
Fixed sleeping and strengthening direct control movement.
|
2019-04-01 17:19:38 +01:00 |
|
Richard Davey
|
b97bf51329
|
Removed positionIterations
|
2019-03-28 23:35:09 +00:00 |
|
Richard Davey
|
535388b828
|
Added Distance Threshold and seeking
|
2019-03-28 23:32:46 +00:00 |
|
Richard Davey
|
cb77405031
|
Better seek handling
|
2019-03-28 14:58:51 +00:00 |
|
Richard Davey
|
7a05c205b1
|
Docs fix
|
2019-03-27 15:51:55 +00:00 |
|
Richard Davey
|
cc1b96a309
|
The Body.setCollideWorldBounds method has two new optional arguments bounceX and bounceY which, if given, will set the World Bounce values for the body.
|
2019-03-27 11:53:34 +00:00 |
|
Richard Davey
|
2b4568cf05
|
Body no longer sleeps if rotating and fixed moving a rebounding object
|
2019-03-27 10:46:42 +00:00 |
|
Richard Davey
|
c819599304
|
Use of a Game Object bound to a body is now optional
|
2019-03-27 00:20:49 +00:00 |
|
Richard Davey
|
811ed0e340
|
Dynamic and Static both now extend the Base Body.
|
2019-03-26 16:51:15 +00:00 |
|
Richard Davey
|
5bb2161d49
|
Fixed issue with non zero origins
|
2019-03-26 15:29:58 +00:00 |
|
Richard Davey
|
ab2f489c5a
|
Renamed ambiguous movingX/Y , also broke out moveX to checkX and tidied up more
|
2019-03-26 13:07:57 +00:00 |
|
Richard Davey
|
9b65f1bcc6
|
Moved sleep checks around
|
2019-03-26 00:05:09 +00:00 |
|
Richard Davey
|
c58526fc74
|
Tidying up and resolving fractional comparisons
|
2019-03-25 17:25:39 +00:00 |
|
Richard Davey
|
3e499831cc
|
Added functions for left / right checks
|
2019-03-25 12:55:31 +00:00 |
|
Richard Davey
|
1f07eaa79f
|
Testing rideable bodies
|
2019-03-24 23:30:38 +00:00 |
|
Richard Davey
|
de08c9b0db
|
Removed lots of un-used vars and added 'rideable' support
|
2019-03-22 19:07:06 +00:00 |
|
Richard Davey
|
b48247dada
|
Body now wakes from direct velocity property modification
|
2019-03-22 15:01:47 +00:00 |
|
Richard Davey
|
ad9a0fad00
|
Fixed body waking situations
|
2019-03-22 14:48:00 +00:00 |
|
Richard Davey
|
cf504ac9c2
|
Body.setVelocity was cause the speed property to be set to NaN if you didn't provide a y argument.
|
2019-03-22 13:16:37 +00:00 |
|
Richard Davey
|
bef0b163a2
|
Clear snapTo
|
2019-03-22 12:50:28 +00:00 |
|
Richard Davey
|
4d4c5353ec
|
Added World positionIterations property to help settle busy scenes
|
2019-03-22 12:18:34 +00:00 |
|
Richard Davey
|
7c5f6adfe8
|
Don't apply the force until postUpdate - resolves all issues with body spacing :)
|
2019-03-22 11:34:23 +00:00 |
|
Richard Davey
|
963ed11cb4
|
Fixed getMove flow
|
2019-03-22 02:39:10 +00:00 |
|
Richard Davey
|
06acf492bc
|
Refactored getMoveY
|
2019-03-22 02:29:48 +00:00 |
|
Richard Davey
|
ec67d02b21
|
Blockers is now a face array and added hardBlocked support
|
2019-03-22 01:17:32 +00:00 |
|
Richard Davey
|
19bfe38d04
|
Resolved issue with bounds penetration (finally)
|
2019-03-21 23:21:02 +00:00 |
|
Richard Davey
|
9cabcd5d73
|
Tidying up
|
2019-03-21 17:24:34 +00:00 |
|
Richard Davey
|
0005cf590e
|
Resolved bounds sleep issue
Now to create collision info objects for sleep settling.
|
2019-03-21 11:31:05 +00:00 |
|
Richard Davey
|
6a145049b1
|
Testing issue with sticky bodies
|
2019-03-21 01:02:38 +00:00 |
|
Richard Davey
|
1518f49c23
|
Finally traced down the culprit. Now to resolve.
|
2019-03-20 17:14:44 +00:00 |
|
Richard Davey
|
0f59b326f6
|
Sleeping can now force a position
|
2019-03-20 14:59:53 +00:00 |
|
Richard Davey
|
1c81425771
|
Add forceY arguments
|
2019-03-20 10:40:32 +00:00 |
|
Richard Davey
|
bf25e424f0
|
Added support for minVelocity and fixed zero gravity rebound issue
|
2019-03-20 04:06:53 +00:00 |
|
Richard Davey
|
81e2851b37
|
Moved sleeping to new function and made stronger
|
2019-03-20 01:28:00 +00:00 |
|
Richard Davey
|
5dcd844701
|
Added world blocked debug color
|
2019-03-20 00:08:23 +00:00 |
|
Richard Davey
|
87e9f8e62d
|
Don't reforce a forced position
|
2019-03-20 00:02:16 +00:00 |
|
Richard Davey
|
68c8bd3af2
|
Removed logs array and tidying up the flow
|
2019-03-19 23:21:48 +00:00 |
|
Richard Davey
|
d59617a627
|
Never ending debugging ahoy.
|
2019-03-18 17:17:59 +00:00 |
|