16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 02:09:17 +02:00
This commit is contained in:
2026-05-24 21:48:05 +02:00
parent 5b51188dfe
commit 2c599cb419
46 changed files with 2034 additions and 85 deletions

View File

@@ -0,0 +1,14 @@
#pragma once
#include "BaseSystem.h"
// Propagates parent world Transform to children.
// Runs after MovementSystem so children always inherit the parent's
// already-updated position in the same frame.
// Child's Transform.Position is stored as a LOCAL offset relative to
// the parent and this system overwrites it with the computed world position.
class HierarchySystem : public BaseSystem
{
public:
void Update(ECWorld& world, float dt) override;
};