Search Unity

AI Players Movement for Rolling Ball Game

Discussion in 'Physics' started by siddharth3322, Aug 22, 2019.

  1. siddharth3322

    siddharth3322

    Joined:
    Nov 29, 2013
    Posts:
    1,049
    I have developed this game from scratch and released into stores:


    In the above game video, you can see that multiple types of obstacles are coming so from those you require to save AI ball and use jumper when there is a complete blockage of the path exist.

    At present, I have decided to do a raycast in forward direction at certain units to detect very next obstacle.
    But how to choose left or right direction based on different obstacles types?

    How to deal with jumpers where only jumpers are available to move ahead?
    Here is the video where you can see jumper objects.


    Please share your side general opinion with me so I can start writing code for AI players those move together with human players.