mirror of
https://github.com/APercy/automobiles_pck
synced 2025-10-04 16:46:24 +02:00
fix whell z distance detection
This commit is contained in:
parent
e1e6cd8fcd
commit
72141fecf1
@ -167,8 +167,8 @@ function automobiles_lib.ground_get_distances(self, radius, axis_distance)
|
||||
local wheels = {
|
||||
{x = -front_wheel_x, y = 0, z = axis_distance}, -- Roda frontal esquerda
|
||||
{x = front_wheel_x, y = 0, z = axis_distance}, -- Roda frontal direita
|
||||
{x = -rear_wheel_x, y = 0, z = -axis_distance}, -- Roda traseira esquerda
|
||||
{x = rear_wheel_x, y = 0, z = -axis_distance} -- Roda traseira direita
|
||||
{x = -rear_wheel_x, y = 0, z = -0}, -- Roda traseira esquerda
|
||||
{x = rear_wheel_x, y = 0, z = -0} -- Roda traseira direita
|
||||
}
|
||||
|
||||
--retornando pitch e roll
|
||||
|
Loading…
Reference in New Issue
Block a user