fixed angles in body coordinates? I don't understand that.
You can use RotateEntity to rotate a mesh to a desired angle. This way it will rotate them absolutely. Using RotateEntity mesh,0,0,0 will always turn it back to the initial angle.
You can use TurnEntity, this will turn the Mesh relatively, but. RotateEntity mesh,0,0,0 will always turn it back to the initial angle.
If you use RotateMesh, it will rotate it relatively, and permanently. RotateEntity mesh,0,0,0 will NOT turn it back to the initial angle.
There is always the local/global flag with these Commands, so when your Mesh is a Child of something, you can decide if it should be rotated relatively to its parent or relative to the world.
If you mean you want to determine an angle by a coodinate that is outside the center of the mesh and you want the mesh to point to the coordinate you can eighter set a helper pivot to that coodinate and point the Mesh to it, or you can use Atan2 to calculate the angle.
yaw=atan2(entityx(mesh)-coordinate_x,entityz(mesh)-coordinate_z)
Sorry if I misunderstood your question.
You can use RotateEntity to rotate a mesh to a desired angle. This way it will rotate them absolutely. Using RotateEntity mesh,0,0,0 will always turn it back to the initial angle.
You can use TurnEntity, this will turn the Mesh relatively, but. RotateEntity mesh,0,0,0 will always turn it back to the initial angle.
If you use RotateMesh, it will rotate it relatively, and permanently. RotateEntity mesh,0,0,0 will NOT turn it back to the initial angle.
There is always the local/global flag with these Commands, so when your Mesh is a Child of something, you can decide if it should be rotated relatively to its parent or relative to the world.
If you mean you want to determine an angle by a coodinate that is outside the center of the mesh and you want the mesh to point to the coordinate you can eighter set a helper pivot to that coodinate and point the Mesh to it, or you can use Atan2 to calculate the angle.
yaw=atan2(entityx(mesh)-coordinate_x,entityz(mesh)-coordinate_z)
Sorry if I misunderstood your question.