Bullet: Collision margin was inverted. issue #1707

This should work now as expected.
This commit is contained in:
Lykdraft 2020-10-02 15:23:23 +02:00 committed by GitHub
parent da1cf33930
commit 3ce253c51a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,7 +113,7 @@ class RigidBody extends iron.Trait {
}
inline function withMargin(f: Float) {
return f - f * collisionMargin;
return f + f * collisionMargin;
}
public function notifyOnReady(f: Void->Void) {