Intranet Catprocess
  1. news...
  2. about Blackvoxel
  3. download
  4. manual
  5. videos
  6. forum
  7. about us & contact
  1. PickVoxel3D


    bool PickVoxel3D(integer x, integer y, integer z)

    Grab a voxel at the specified location and store it in the robot storage unit. Some voxels can't be picked up by a robot (or the robot may need some extensions to get them). This function can only be used in Voxel_Step(). 


    x,y,z : The coordinates where to pick the voxel (Relative to the robot's location). The specified location must be in an accessible portion of the world.

    Return Value

    A boolean which is true if the voxel was grabbed successfully or false otherwise. If you try to access a location that is not in the loaded world, the function will fail. Note that this may occur briefly at any location after resuming from a saved game.

    Example of use

    To do.

    // Listing #1: Todo.
    To do

    See Also

    PlaceVoxel3D(), MoveVoxel3D(), Look3D()

  2. Google+