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. Dismiss Notice

Question when HIT: go to front not side [[3th person]]

Discussion in 'Physics' started by fla-rar, Aug 26, 2023.

  1. fla-rar

    fla-rar

    Joined:
    May 1, 2014
    Posts:
    248


    Hello, I have downloaded this free asset from the store, using UNITY 2023.3.7 - coz starting a game, like this FALLGUYS:
    SHORT video of FALLGUYS: [[ click here ]]

    But the first problem I find is this,
    that when I want to hit him, from one side, he always shoots to the front, and never to the sides.
    just like it would happen in the real world, so, I ask the question, what should I do to make it work like the real world?
    I leave here a short video, with my voice, from YouTube, explaining my problem.
    Please, any help or comment will always be greatly appreciated.
    video:
    .
     
    Last edited: Aug 26, 2023
  2. arkano22

    arkano22

    Joined:
    Sep 20, 2012
    Posts:
    1,630
    I'd recommend starting with the absolute basics first, otherwise you're going to get stumped literally every step of the way, not just on this. Making something like Fallguys is an extremely ambitious goal that would take any single developer years to achieve.

    Regarding your question: this asset you downloaded uses the CharacterController. As stated in the manual, it won't receive forces from other objects:

    You must use a Rigidbody instead.
     
  3. fla-rar

    fla-rar

    Joined:
    May 1, 2014
    Posts:
    248
    Awesome Thanks really thanks ....
    the problme is that i did not find from unity a 3D person character controller , basic simple, so, please is there a way to get ffrom unity a basic asset to start simple please ?
     
  4. arkano22

    arkano22

    Joined:
    Sep 20, 2012
    Posts:
    1,630
    This is a really good tutorial on making your own physics-based character controller in Unity: