I Tried to use transform.LookAt function but He Is Rotating In the opposite way while I can see only his back, not his Eyes
Is that because of the model from Blender ?
or It is an Error In a Script
I Tried to use transform.LookAt function but He Is Rotating In the opposite way while I can see only his back, not his Eyes
Is that because of the model from Blender ?
or It is an Error In a Script
LookAt always uses the z forward axis to point at, target.
renman3000 I see the The Blue Arrow that shows the Z Axis pointing towards the Enemy but he is rotating backwards to me and only I can see he’s back…He is Rotating In an Opposite way
So, child him to the tranfrom yiu use to look at. Adjust the rotation of him, accordingly inside.
@OP this is indeed a blender problem. Blender and Unity uses different axes, and instead of fixing that on import, Unity just sets the x-rotation of the object to -90 and calls it a day. HURGBLURHG
@renman3000 's solution is the usual work-around.
Baste Conclusion ?