mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-25 06:15:36 +00:00
add an explicit interpolatetick back in to flyingvehicle
fixe sounds not moving along with it
This commit is contained in:
parent
23895e365a
commit
2c21c4ebd7
2 changed files with 10 additions and 0 deletions
|
|
@ -404,8 +404,17 @@ void FlyingVehicle::onRemove()
|
|||
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
void FlyingVehicle::interpolateTick(F32 dt)
|
||||
{
|
||||
PROFILE_SCOPE(FlyingVehicle_InterpolateTick);
|
||||
Parent::interpolateTick(dt);
|
||||
updateEngineSound(1);
|
||||
updateJet(dt);
|
||||
}
|
||||
|
||||
void FlyingVehicle::advanceTime(F32 dt)
|
||||
{
|
||||
PROFILE_SCOPE(FlyingVehicle_AdvanceTime);
|
||||
Parent::advanceTime(dt);
|
||||
|
||||
updateEngineSound(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue