mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-15 16:14:35 +00:00
Oob Bounce speed limit Lak
This commit is contained in:
parent
b35fcfed6d
commit
76b7914321
1 changed files with 1 additions and 1 deletions
|
|
@ -2098,7 +2098,7 @@ function plzBounceOffGrid(%obj, %bounceForce, %count)
|
||||||
%vec = VectorNormalize(%vec);
|
%vec = VectorNormalize(%vec);
|
||||||
%vec = VectorScale(%vec, 25);
|
%vec = VectorScale(%vec, 25);
|
||||||
}
|
}
|
||||||
else if (%oldSpeed < 300)
|
else if (%oldSpeed < 60) //Max speed in which to get a bounce: Added so runners cant abuse
|
||||||
%vec = VectorScale(%vec, 1.15);
|
%vec = VectorScale(%vec, 1.15);
|
||||||
|
|
||||||
// apply the impulse to the object
|
// apply the impulse to the object
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue