How can I match the icon's direction of spotLight's lightGizmo in rightHandedSystem?

Hi :slight_smile:

I’m using rightHandedSystem in my project. (can’t change this setting because of a few reasons)

When I activate the lightGizmo of spotLIght and rotate the light with rotationGizmo,

the icon of lightGizmo does not match spotLight’s direction.

The rightHandedSyetem must be the problem, but I don’t know how to match the direction.

Is that a bug or I missed something?

Here’s the playground.

Thanks in advance.

https://playground.babylonjs.com/#48Z3YS

It looks like a bug to me, cc @Cedric who will know for sure.

1 Like

I think I have a ‘hack’. Not sure I recommend this but still, here it is. It’s basically about making a manual conversion from left-handed to right-handed. I suppose it works but I agree is not very ‘sexy’

Yes! Looks like a bug to me! I’m adding this to my todo list!

2 Likes

Thank you for checking it out :smile:

I’ll have to do it like this for now
Thanks for the idea :+1:

Always Thank you~

If I was you, I would just wait for the fix. Shouldn’t be all too long. Work on some other part until then. Else, you’ll have to undo everything once it’s updated. Of course, your choice and have a great day :sunglasses:

1 Like
4 Likes