mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
rigidshape and derivatives cleanups
dragforce for rigidshapes and children defaulted to a value it's own debuggers won't complain about out of the gate removed duplicate invalidation for flying vehicle sounds causing network instability removed redundant hovervehicle vars
This commit is contained in:
parent
5615cc33d8
commit
0f55389712
4 changed files with 3 additions and 9 deletions
|
|
@ -276,7 +276,7 @@ RigidShapeData::RigidShapeData()
|
|||
for (S32 i = 0; i < Sounds::MaxSounds; i++)
|
||||
INIT_SOUNDASSET_ARRAY(WaterSounds, i);
|
||||
|
||||
dragForce = 0;
|
||||
dragForce = 0.01f;
|
||||
vertFactor = 0.25;
|
||||
|
||||
dustTrailEmitter = NULL;
|
||||
|
|
@ -354,7 +354,7 @@ bool RigidShapeData::preload(bool server, String &errorStr)
|
|||
}
|
||||
}
|
||||
|
||||
if (dragForce <= 0.01f)
|
||||
if (dragForce < 0.01f)
|
||||
{
|
||||
Con::warnf("RigidShapeData::preload: dragForce must be at least 0.01");
|
||||
dragForce = 0.01f;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue