From 677e71c36d80068cd2c57ba8eef82ce3447cb171 Mon Sep 17 00:00:00 2001 From: lucas Date: Sat, 4 Jan 2025 20:44:07 +0100 Subject: [PATCH] Fix rlviser torque --- rlgym/rocket_league/rlviser/rlviser_renderer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rlgym/rocket_league/rlviser/rlviser_renderer.py b/rlgym/rocket_league/rlviser/rlviser_renderer.py index db2847d..1245420 100644 --- a/rlgym/rocket_league/rlviser/rlviser_renderer.py +++ b/rlgym/rocket_league/rlviser/rlviser_renderer.py @@ -63,7 +63,7 @@ def _get_car_state(self, car: Car): car_state.has_double_jumped = car.has_double_jumped car_state.air_time_since_jump = car.air_time_since_jump car_state.flip_time = car.flip_time - car_state.last_rel_dodge_torque = rsim.Vec(*car.flip_torque) + car_state.flip_rel_torque = rsim.Vec(*car.flip_torque) car_state.is_auto_flipping = car.is_autoflipping car_state.auto_flip_timer = car.autoflip_timer