I made a simple turret. The turret aming at you and shooting.
The problem is that the turret aming to the wrong plase becouse it’s local Z axis is pointing upwords and not front.
Here some pictures for you to know how it looks like:
When it is aming (pointing down and it’s top part aming me):
There is any code that can fix it? I tried to export the modle from Blender on other axis but it didn’t changed anything.