mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-18 01:35:27 +00:00
refactor(component): physics components load in the client's phases
The physics row's collision group in LoadDataFromTemplate and the level's CollisionGroupID in LoadConfigData; each physics type then reads its own level keys and makes its physics after that, in the same order as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -36,6 +36,8 @@ public:
|
||||
static constexpr uint32_t MOTION_TYPE_FIXED = 5;
|
||||
|
||||
SimplePhysicsComponent(Entity* parent, const int32_t componentID);
|
||||
|
||||
void LoadConfigData() override;
|
||||
~SimplePhysicsComponent() override;
|
||||
|
||||
void Run(const float deltaTime) override;
|
||||
|
||||
Reference in New Issue
Block a user