Definition
double GetPhysicsGroundHeight()
Description
This function returns the value of physics ground height.
Return Value
The value of physics ground height.
Example
value = 0.0 function Init() value = GetPhysicsGroundHeight() message = string.format("\nPhysics ground height is : %.2f" ,value) PrintConsole(message) end function Update() end
First we get the value of physics ground height. Then we display the result in the console using the PrintConsole function.
GetPhysicsGroundHeight