Bounding box sprite

Bounding box on 2d shape won’t set in face of the camera it see it set in wrong direction
The object is just Sprite

what possible solution for that anything could help
thank you

Please elaborate. Could you show us your code, and a description of what you want as an end result?

You may need to set the rotation.x = Math.PI / 2 so they face the camera.

1 Like

i did minimal code to figure what wrong
image

After rotating the bounding box still doesn’t face the camera.

image

but if i move the sprite the bounding box direction change i have no idea why that happening

i want the box to face the camera that is all

after rotating the sprite it self the bounding box start to be correct

image


can anyone give explanation for that !