Search Unity

Click to Move in 3d Enviroment with Jumping Capabilities

Discussion in 'Scripting' started by VarrickCW, Jan 5, 2014.

  1. VarrickCW

    VarrickCW

    Joined:
    Dec 4, 2013
    Posts:
    9
    Greetings,
    I am seeking a solution for the movement that I need in my game. It is a indoor scene (apartment or house) where you play a cat. I need to be able to click a location with the mouse (or fingers on mobile) and the character moves to that location, including jumping up or down furniture if needed. Does anyone have a recommended asset to do this? Or do I need a custom solution coded for this? Any advice would be much appreciated, I am a novice!

    Sincerely,
    VarrickCW
     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    In very general terms, this could be solved with a navigation mesh (NavMesh), where some connections are marked as requiring a jump.

    However, I have never used Unity's built-in NavMesh and path-finding stuff, so I don't know off the top of my head if they support this or not.

    If not, it wouldn't be too hard to roll a custom solution.

    Good luck,
    - Joe