From b8cc8fd16390a51ce2360352ca654931cb03ef27 Mon Sep 17 00:00:00 2001 From: Panos Karabelas Date: Tue, 10 Dec 2024 05:36:35 +0000 Subject: [PATCH] [game] disabled pacejka forces since they don't act well on the reycast vehicle (I need to build my own) --- runtime/Game/Car.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/Game/Car.cpp b/runtime/Game/Car.cpp index 9d00d236f..cb6c6dbe8 100644 --- a/runtime/Game/Car.cpp +++ b/runtime/Game/Car.cpp @@ -749,7 +749,8 @@ namespace Spartan btVector3 force_position; tire_friction_model::compute_tire_force(m_parameters, i, velocity_vehicle, &force, &force_position); - m_parameters.body->applyForce(force, force_position); + // disable for now as they don't behave well, I think I need to ditch the bullet raycast vehicle and implement my own + //m_parameters.body->applyForce(force, force_position); } // anti-roll bar