mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-15 17:24:08 +00:00
Pool fixes from master
This commit is contained in:
parent
579efc05fc
commit
f3e9c82432
9 changed files with 38 additions and 23 deletions
|
@ -1213,7 +1213,8 @@ CBike::ProcessControl(void)
|
|||
|
||||
// Balance bike
|
||||
if(bBalancedByRider || bIsBeingPickedUp || bIsStanding){
|
||||
float onSideness = clamp(DotProduct(GetRight(), m_vecAvgSurfaceNormal), -1.0f, 1.0f);
|
||||
float onSideness = DotProduct(GetRight(), m_vecAvgSurfaceNormal);
|
||||
onSideness = clamp(onSideness, -1.0f, 1.0f);
|
||||
CVector worldCOM = Multiply3x3(GetMatrix(), m_vecCentreOfMass);
|
||||
// Keep bike upright
|
||||
if(bBalancedByRider){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue