mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 06:29:18 +02:00
WIP
This commit is contained in:
11
entitysystem/systems/VehicleSyncSystem.h
Normal file
11
entitysystem/systems/VehicleSyncSystem.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#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;
|
||||
};
|
||||
Reference in New Issue
Block a user