I have created 3d model in 3DS Max and imported in Unity 3D.
In Unity 3D i m moving object in -Z axis
direction.
While exporting object from 3ds max axis are x0, y0, z0
and in FBX settings y-axis up
.
When model imported in the Unity 3D object appear as rotated in x-axis 90 degree
code is working fine its moving the object in -z zxis
but object is rotated in X90
.
And when I rotate my FBX object in required position then object is moving downwards in -y axis
direction.
Hey I just figured out the problem.
In 3DS MAX, change the pivot point of the object then export.
First, Y - axis was facing Front view and Z - axis top [image 1]
Rotate X - Axis with 90 degree
Now Y - axis id pointing top and Z - axis is pointing back [image 2]