Right handed scenes have .Forward pointing backwards

I create a sphere and move it in the camera’s .Forward direction. it is now behind the camera. Is this intended behavior?

I found potentially related info but unclear if this is intentional.

cc @alexchuber and @bghgary

BABYLON.Vector3.Forward takes a parameter for right handed or not. Adding that makes the direction consistent.

PG: https://playground.babylonjs.com/?BabylonToolkit#BDQ72M#6

3 Likes

thanks! is it possible to implement such that it is automatically set in right handed scenes?

The handedness is set on a scene, so we could pass in the scene and make the default the last created scene. @Deltakosh @sebavan What do you think?

2 Likes

I like it!

@lima Would you like to contribute a PR for this?