mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-12-25 01:12:53 +00:00
nudge things lol
This commit is contained in:
parent
311579e631
commit
c7da2c2de6
1 changed files with 2 additions and 2 deletions
|
|
@ -1579,8 +1579,8 @@ class Marble extends GameObject {
|
|||
tdiff = diff;
|
||||
}
|
||||
var expectedPos = finalPosData.position;
|
||||
var newPos = expectedPos;
|
||||
// var newPos = nudgeToContacts(expectedPos, _radius, finalPosData.foundContacts);
|
||||
// var newPos = expectedPos;
|
||||
var newPos = nudgeToContacts(expectedPos, _radius, finalPosData.foundContacts);
|
||||
|
||||
if (this.velocity.lengthSq() > 1e-8) {
|
||||
var posDiff = newPos.sub(expectedPos);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue