Where did the wheels go? Oimo.js wheel joint x2

I have a playground with 2 wheels and an axle. I have the wheels connected to the axle with 2 different wheel joints.
My question is, where did the wheels go? And, can I motorize the wheel joints? There are no errors other than the missing path to rand.png (makes error texture, which is fine, as you can see the wheels moving)

What’s going on?

Hi @Givo

Your joints were not set properly giving NaN results for the impostors. Those NaNs end up in the body matrix leading to invisible meshes.
Once fixed, the wheels are back.


1 Like

Wow, It doesn’t look like you changed much (I used the “comparinator 9000ᵗᵐ”) but it works. Thanks!

ₙₒᵥᵥ ᵥᵥₕₑᵣₑ ₔᵢₔ ᵢ ₚᵤₜ ₜₕₑ ꜀ₒₔₑ բₒᵣ ₜₕₑ ₘₒₜₒᵣₛ?

The documentation for wheel motor is here : Use Joints - Babylon.js Documentation
With examples for Oimo.js

Oh, I was kinda joking! :smile: I’ve been going back to that page A LOT recently.
Umm. What? https://playground.babylonjs.com/#7QLJWW#18

1 Like