16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 19:19:19 +02:00
Files
maszyna/entitysystem/systems/VehicleSyncSystem.h
2026-05-24 21:48:05 +02:00

12 lines
319 B
C++

#pragma once
#include "BaseSystem.h"
// Keeps ECS Transform in sync with the vehicle's actual world position each frame.
// Must run before all other systems that read Transform (e.g. LOD, Sound, Hierarchy).
class VehicleSyncSystem : public BaseSystem
{
public:
void Update(ECWorld& world, float dt) override;
};