From King Arthur's Gold Wiki
Jump to: navigation, search

Returns true if blob is on ground, false if blob is in air.

This function is the most simple way to determine if given blob is in air or on the ground. (Example, if player is jumping or walking on the ground)

bool isOnGround()


if( blob.isOnGround() )
          Insert any logic here, which you only want to use if blob is currently on ground

Object method of: CBlob