diff --git a/src/engine/Physics.hpp b/src/engine/Physics.hpp index 6378b73..d539e2a 100644 --- a/src/engine/Physics.hpp +++ b/src/engine/Physics.hpp @@ -46,7 +46,7 @@ class PhysicsWorld { std::vector& indices, glm::vec3 position = glm::vec3(0), glm::vec3 scale = glm::vec3(1.f), MotionType motionType = MotionType::Static); - void upsertCarFromSettings(entt::registry& registry, + void createCarFromSettings(entt::registry& registry, entt::entity entity); // A PhysicsBody should exist before on entity void rayPick(glm::vec3 origin, glm::vec3 direction, float maxDistance,