Contents, Programmers Guide, Example Projects, Other Examples, 'SemiDynamicObstacles', Controls
Controls
In addition to the following demo specific controls,
the demo also inherits the camera controls of the PathEngine testbed.
Refer to this page,
for information about these camera controls.
'Hut' and 'rock' placement
'H' - place a randomly rotated hut at the mouse pointer.
Left shift + 'H' - place a batch of randomly positioned huts around the mouse pointer.
'R' - place a randomly rotated rock at the mouse pointer.
Left shift + 'R' - place a batch of randomly positioned rocks around the mouse pointer.
'Wall' placement
'C' - lay down a ghost wall segment, first key press places both start and corner, subsequent presses moves just the end corner.
Left shift + 'C' - start a new wall (re-places both start and end corners).
'W' - place the current ghost wall segment, segment start corner is then set to the previous end corner.
(So this can be used in conjunction with 'C' to place a sequence of connected wall segments.)
Left shift + 'W' - places a larger wall.
Obstacle deletion
'D' - mark obstacles under the mouse pointer for deletion.
'E' - toggle display of an 'erasor' shape. When displayed, 'D' marks any obstacles overlapping this shape.
Preprocess update
Press space to start a preprocess update.
(A message will be displayed whilst the update is in progress and it is not then possible to trigger another update until
this update has completed.)
Saving state
'S' - saves the current mesh and set of obstacles out (to 'SDKRoot/resource/meshes/semiDynamicObstacles.tok'). These will then be reloaded automatically the next time the prototype starts.