Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bUG #2

Open
WSPluta opened this issue May 11, 2021 · 0 comments
Open

bUG #2

WSPluta opened this issue May 11, 2021 · 0 comments

Comments

@WSPluta
Copy link

WSPluta commented May 11, 2021

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant