3d_car_tutorial
3d_car_tutorial copied to clipboard
bUG
Hey,
I have used your tutorial to create a mini game. I have tried to replicate it for a model that Im using. However when I run it I keep getting
E 0:00:01.083 set_axis_angle: The axis Vector3 must be normalized.
<C++ Error> Condition "!p_axis.is_normalized()" is true.
<C++ Source> core/math/basis.cpp:980 @ set_axis_angle()
<Stack Trace> Car.gd:47 @ calculate_steering()
Car.gd:30 @ _physics_process()
which is pointing at front_wheel += velocity.rotated(transform.basis.y, steer_angle) * delta
and calculate_steering(delta)
any ideas?
you can try it here https://3dpr.ddns.net/rooms/RBRML/