Sets the model's current rotation by animating the model. This method is similar to Model:SetFacing() in that it rotates the 3D model displayed about its vertical axis; however, since the PlayerModel object displays a unit's model, this method is provided to allow for animating the rotation using the model's built-in animations for turning right and left.

For example, if the model faces towards the viewer when its facing is set to 0, setting its facing to math.pi faces it away from the viewer.




  • facing - Rotation angle for the model (in radians) (number)