Definition
double GetPhysicsCameraAngle()
Description
This function returns the angle of physics camera attached to the main character. You can set the physics camera angle through the Main Character Properties dialog (Insert > Main Character) or the SetPhysicsCameraAngle function.
Return Value
This function returns the angle of physics camera attached to the main character as a Double value in degrees.
Example
angle = 0.0 function Init() angle = GetPhysicsCameraAngle() message = string.format("\nPhysics camera angle is > %.2f" ,angle) PrintConsole(message) end function Update() endGetPhysicsCameraAngle