[upstream] Tunable joint stiffness (box2d #934) #34
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.
Joint stiffness is now tunable per joint. This allows specific joints to have increased stiffness, which may be important for some games. Removed
b2World_SetJointTuning
Added
b2Joint_SetConstraintTuning
andb2Joint_GetConstraintTuning
. Addedb2StoreWorldId
andb2LoadWorldId
.Added
b2Joint_GetReferenceAngle
,b2Joint_SetReferenceAngle
,b2Joint_SetLocalAxisA
, andb2Joint_GetLocalAxisA
. Removedb2WeldJoint_GetReferenceAngle
andb2WeldJoint_SetReferenceAngle
.Added
b2SpringDamper
math utility function used by the character sample.Fixed bug in
b2SolvePlanes
.