Intranet Catprocess
  1. news...
  2. about Blackvoxel
  3. download
  4. manual
  5. videos
  6. about us
  1. PlayerSetAccel

    Description

    bool PlayerSetAccel(float x, float y, float z)

    This function set the acceleration value for the player, replacing the actual value. Acceleration is caped to +-10.0 units. This function can only be used in Voxel_Step().

    Parameters

    x,y,z : Values of the acceleration vector to set for the player.

    Return Value

    A boolean result with the true value if the function succeeded, false otherwise.

    Example of use

    To do.

    // Listing #1: Todo.
    To do

    See Also

     

     

     
  2. Google+