Bounce (at walls)

Discussion in 'World Editor Help' started by Arre, Jan 18, 2009.

  1. Arre

    Arre You can change this now in User CP.

    +1 / 0 / -0
    I wondering how to make a bounce system without using regions (i know the codes 180 - units facing angle and 360 - units facing angle.)
    But i dont know how to make so the bouncer detects if it is a vertical wall or a horizontal wall.
  2. Samael88

    Samael88 Evil always finds a way

    +181 / 0 / -0
    You need to make some kind of collision system.
    You can check if it comes near a cliff. Then check the height of the cliff and compare it to the unit. And so on..

    Edit: if height of unit is less than cliff, then it bounces of the vertical cliff. Else it will bounce as on the ground:)

Share This Page