Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

Character Controller Move with a moving parent in 2018.3

Discussion in 'Physics' started by gambitsunob, Oct 14, 2018.

  1. gambitsunob


    Apr 17, 2018
    I'm having some issues with using a Character Controller and calling Move in 2018.3. Trying to figure out if it's a bug, if I'm using it wrong, or something else? It did work in 2018.1 but I couldn't find anything googling/searching.

    A few states here.

    A) Fixed Update Platform - Fixed Update Character Controller
    Calling CharacterController.Move causes it slide off even though it's parented, it's like the parents transform no longer affects it. If I don't call CharacterController.Move, it starts working as I expect it to and follows along, I just can't move the player capsule then.

    B) Fixed Update Platform - Normal Update Character Controller
    Doing it this way, the Character Controller follows along with the Platform. Though this doesn't seem like the correct solution. The move should be called in the Fixed Update.

    C) All other ways the controller slides off the platform and doesn't use the parenting.

    So my real questions is. Is this the intended functionality, and I should be applying the motion of the parent (platform) in my CharacterController.Move call going forward, or is this a bug?
    DoctorMismatch likes this.
  2. KazYamof


    Jun 26, 2015
    Same problem here: 2019.1

    B) Fixed Update Platform - Normal Update Character Controller
    This seems to be the new solution now.
    Don't know why!