mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 19:19:19 +02:00
12 lines
319 B
C++
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;
|
|
};
|