Category: Landscape
/ Material
Since engine version: 1.0 OC
GBackSolid
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.