Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

[Need Help] how to give a random motion to a 2d object .[Fixed]

Discussion in 'Scripting' started by Abhijit-Mukherjee, May 28, 2018.

  1. Abhijit-Mukherjee

    Abhijit-Mukherjee

    Joined:
    Jan 9, 2015
    Posts:
    193
    Hi Team,

    Need help and guidance . I was working on a game but it is stuck for long time as I am not able to create a random motion to multiple 2d objects with out colliding each other . The object is a fly bug .. its not only a random motion , the bug has to face the path which it is heading ..


    Is it possible !
     
  2. TJHeuvel-net

    TJHeuvel-net

    Joined:
    Jul 31, 2012
    Posts:
    818
    It is possible! Why are you stuck, what prevents you? What have you tried?
     
  3. Abhijit-Mukherjee

    Abhijit-Mukherjee

    Joined:
    Jan 9, 2015
    Posts:
    193