AxesViewer does not exist in TypeScript Playground

See screenshot:

It works fine in the JS Playground.

1 Like

cc @RaananW

looking into that

The AxesViewer is part of the Debug namespace, so you need to use BABYLON.Debug.AxesViewer. For a back-compat issue it is also part of the global namespace, but typescript is still expecting the definition to work correctly.

2 Likes

Thanks for the info @RaananW

The docs may need updating Display Axes | Babylon.js Documentation . I can do that.

Docs PR Change namespace to Debug.AxesViewer() by brian-hay · Pull Request #938 · BabylonJS/Documentation · GitHub

3 Likes