I rewrote vehicle.js. Why is it not working properly?

The address of the project: https://playcanvas.com/editor/scene/644292

This Code( script 2.0) :https://playcanvas.com/editor/code/576358?tabs=14455140

Why does it work like this?

I really don’t know what’s going on here? Can you help me? @yaustar

Sorry, it’s too big a project/file for me to look at.


Let me take another look。 :flushed:

I’m going to take a stab in the dark. Only had a quick glance.

But your missing getWheelTransformWS() ?

@11113 Your project gives a 404 - so presumably it’s private? Did you resolve the problem?