Fix nan errors when using VehicleBody
(cherry picked from commit 1b8cbcf946
)
This commit is contained in:
parent
2261e738c2
commit
24d03afc9b
1 changed files with 1 additions and 0 deletions
|
@ -389,6 +389,7 @@ VehicleWheel::VehicleWheel() {
|
|||
m_suspensionRelativeVelocity = 0;
|
||||
m_clippedInvContactDotSuspension = 1.0;
|
||||
m_raycastInfo.m_isInContact = false;
|
||||
m_raycastInfo.m_suspensionLength = 0.0;
|
||||
|
||||
body = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue