mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-05 13:30:34 +00:00
clean out redundant pack/unpack in vehicle
This commit is contained in:
parent
43309fef2a
commit
c2b3ea6122
2 changed files with 1 additions and 86 deletions
|
|
@ -1648,6 +1648,7 @@ void RigidShape::unpackUpdate(NetConnection *con, BitStream *stream)
|
|||
mDelta.warpCount = mDelta.warpTicks = 0;
|
||||
setPosition(mRigid.linPosition, mRigid.angPosition);
|
||||
}
|
||||
mRigid.updateCenterOfMass();
|
||||
}
|
||||
|
||||
if(stream->readFlag())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue