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.

Feature Request CharacterController Rotation On all axis

Discussion in 'Scripting' started by liambilly, Sep 11, 2023.

  1. liambilly

    liambilly

    Joined:
    May 13, 2022
    Posts:
    90
    when it comes to controlling the player character, character controller would be the best since it incorporates smooth step offst unlike rigid body which need extra codes with raycasts, however un like the capsule collider, it cannot rotate on the x and z axis making it difficult to control while implementing faux gravity, walking on walls. not only that but when your charcter can fly thecontroller will register collisions in the wrong places, since it never rotates on x and z, so id to request this feature for the purpose of issues stated above.
     
  2. liambilly

    liambilly

    Joined:
    May 13, 2022
    Posts:
    90
    also someone please leave me a link to the official feature-request site
     
  3. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    6,186
  4. liambilly

    liambilly

    Joined:
    May 13, 2022
    Posts:
    90
    yeah the physics character controller is using rigidbody and a capsulecollder that can rotate on any axis,the charactercontroller would be perfect if they added these feature
     
  5. liambilly

    liambilly

    Joined:
    May 13, 2022
    Posts:
    90
    the kinematic character controller which uses rigidbody and capsule collider has implemented the step offset and very many useful features, however if you want your game movement mechanics to be diverse, it can get tricky using it, and i had a look at at that code it seems like everything is being done in the update,even when player is on a moving platform which would be easier to just parent him and will still work the same way
     
  6. liambilly

    liambilly

    Joined:
    May 13, 2022
    Posts:
    90
    if you know their official request feature site please leave me a link,
     
  7. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    37,228
    If you want a truly good user experience you're gonna have to tune any basic physics controller to precisely suit your game.

    Otherwise your game and its controls will just be, "meh." To add real joy requires real hard work.

    Check out what this guy did with the basic Unity physics system to get a responsive physics-based character controller.

     
  8. liambilly

    liambilly

    Joined:
    May 13, 2022
    Posts:
    90
    floating the colliderisnt a bad idea , but only when yo need your step offset to be low otherwise if ypu place it too high and youre trying to shoot at another player feet e.t.c and cant damage them will be problematic