Skip to content

bUG #2

Open
Open
bUG#2
@WSPluta

Description

@WSPluta

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions