1

How can i throw cube my completely different direction on every click while maintaining restruction shown by cyan lines

Comments
  • 0
    @Alice no see my previous post ,
    i dont ask on stack exchange cus they are dick downvoting for nothing now i m blocked to ask ther
  • 0
    @fuckwithcodes SO can be tough but you'll get there if you ask good questions. Sorry but devRant isn't a good place for such questions
  • 0
    i dont speak unity but something like

    onClick
    move(random.nextInt, random.nextInt);

    move(int x, int y)
    //move here
    if collision(line)
    move (-x, -y)
  • 0
Add Comment