GetSpriteWorldImpact
State = GetSpriteWorldImpact(SpriteIndex)
 
Parameters:

    SpriteIndex = The Index of the sprite you wish to query
Returns:

    State = The sprites collision state with the world (0= no collision, 1 = Hit world)
 

      The GetSpriteWorldImpact function returns if the sprite had a collision with the world when it was last moved.




FACTS:


      * GetSpriteWorldImpact only returns if the sprite hit the world, nothing else.

      * Sprite has to set to Sliding/World collision mode . (See: SpriteCollisionMode


 
Related Info: SpriteCollision | SpriteCollisionMode | SpriteCollisionWorld | SpriteHitWorld :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com