Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
SyncTransformSystem.hpp
Go to the documentation of this file.
1/**************************************************************************
2 * EngineSquared v0.1.1
3 *
4 * EngineSquared is a software package, part of the Engine² organization.
5 *
6 * This file is part of the EngineSquared project that is under MIT License.
7 * Copyright © 2025-present by @EngineSquared, All rights reserved.
8 *
9 * EngineSquared is a free software: you can redistribute it and/or modify
10 * it under the terms of the MIT License. See the project's LICENSE file for
11 * the full license text and details.
12 *
13 * @file SyncTransformSystem.hpp
14 * @brief System to synchronize Transform with Jolt Physics body positions
15 *
16 * This system runs after PhysicsUpdate to copy the simulated positions
17 * and rotations from Jolt bodies back to the Transform components.
18 *
19 * @author @EngineSquared
20 * @version 0.1.1
21 * @date 2025-10-30
22 **************************************************************************/
23
24#pragma once
25
26#include "core/Core.hpp"
27
28namespace Physics::System {
29
42void SyncTransformWithPhysics(Engine::Core &core);
43
44} // namespace Physics::System
Definition CharacterControllerSystem.cpp:15
void SyncTransformWithPhysics(Engine::Core &core)
Synchronize Transform components with Jolt Physics body positions.
Definition SyncTransformSystem.cpp:17