GBackSolid
Category: Landscape
/ Material
Since engine version: 5.1 OC
Description
Checks whether there is solid matter at the specified position in the landscape.
Syntax
bool GBackSolid(int x, int y);
Parameters
- x:
X coordinate. Offset in local calls.
- y:
Y coordinate. Offset in local calls.
Example
while(obj->GBackSolid()) obj->SetPosition(obj->GetX(),obj->GetY()-1);
Moves an object to the surface or to the ground of a lake.
Günther, 2002-04