Now 'physics.setMKS' function can really change the b2Setting.#1
Open
zero-meta wants to merge 8 commits into
Open
Now 'physics.setMKS' function can really change the b2Setting.#1zero-meta wants to merge 8 commits into
zero-meta wants to merge 8 commits into
Conversation
…meter ratio with a litte bigger number, like physic.setScale(160).
Contributor
|
So I was reviewing this pull request and it seems to alter how physics is solved. Would this break existing games, how would it alter physics? I am not pro in Box2D, so didn't want to dive deep if you have some quick answers. |
Author
|
It will not break existing games. We fixed three problems.
Those three changes will not change the default behavior of box2d and apis defined by solar2d. So they will not break existing games. |
local particleSystem = physics.newParticleSystem
{
filename = "particle.png",
radius = 3,
filter = {categoryBits=1, maskBits=0xFFFF, groupIndex=0}
}
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
'body shape no area' warning, And loose collision shape we defined.