mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-09 15:30:41 +00:00
rigidshape pef tweaks
account for integration for atrest evaluation. if we're atrest, *don't* network momentums. just send the bool
This commit is contained in:
parent
3c358d45d0
commit
43309fef2a
3 changed files with 58 additions and 30 deletions
|
|
@ -363,4 +363,6 @@ void Rigid::setAtRest()
|
|||
linMomentum.set(0.0f,0.0f,0.0f);
|
||||
angVelocity.set(0.0f,0.0f,0.0f);
|
||||
angMomentum.set(0.0f,0.0f,0.0f);
|
||||
force.set(0.0f, 0.0f, 0.0f);
|
||||
torque.set(0.0f, 0.0f, 0.0f);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue