Toggles the existence of a physics wall at the edges of the screen to prevent physics objects leaving the screen in that direction.
class property Walls: TAgkPhysicsWalls;
If you have physics objects beyond the edge of the screen, e.g. in a platform game, you should turn this off.
If you change the view offset using TAgkScene.SetViewOffset the walls will not move with it, they are fixed to the world, so they will be disabled automatically.
Copyright (c) 2012. All rights reserved.
|