Fix nan errors when using VehicleBody
This commit is contained in:
parent
59125d689b
commit
1b8cbcf946
1 changed files with 1 additions and 0 deletions
|
@ -366,6 +366,7 @@ VehicleWheel3D::VehicleWheel3D() {
|
|||
m_suspensionRelativeVelocity = 0;
|
||||
m_clippedInvContactDotSuspension = 1.0;
|
||||
m_raycastInfo.m_isInContact = false;
|
||||
m_raycastInfo.m_suspensionLength = 0.0;
|
||||
|
||||
body = nullptr;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue