#how do i make my vehicle body not freak tf out when i press the accelerate button

1 messages · Page 1 of 1 (latest)

rough moth
#

Whats your code in the matter?

polar agate
#

just a sec my pc restarted

#

extends VehicleBody3D

@export var maxsteer = 0.9
@export var enginepower = 300

func _physics_process(delta):
steering = move_toward(steering , Input.get_axis("ui_right" , "ui_left") * maxsteer , delta * 10 )
engine_force = Input.get_axis("fuckthisisthethingthatturnsoffthefovshit", "ui_down") * enginepower

polar agate
midnight echo
#

this seems mostly like a scene setup issue

polar agate
#

idk man

midnight echo
#

there is certainly not enough info here

polar agate
#

like it worked fine when it was a box but when i added my own mesh it went crazy

austere ridge
#

Turn on Debug > Visible Collision Shapes

past nexus
#

this extra size of the bounding box of that wheel looks wrong