Search Unity

Character controller not moving with External moving object

Discussion in 'Scripting' started by staincorb, Aug 3, 2018.

  1. staincorb

    staincorb

    Joined:
    Mar 30, 2009
    Posts:
    123


    Hello so last time I worked on a personal project in Unity was 2014 and I wanted to update a project and make it better, maybe even publish it some day but.

    As seen in video, the character controller does not move with the tree, and before it did, I hope there is some very simple solution to fixing this and having it work like before.

    Thank any of you for looking into this.
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,726
    Steps to fix:

    1. figure out how the character moves with the tree (parenting? a chase script? duplicate position assigning?)

    2. fix it so it works again.

    Until you post code and precisely the steps you have tried and the ways they have failed, including details of any error messages you see, that's about all anyone here can help you with.
     
  3. staincorb

    staincorb

    Joined:
    Mar 30, 2009
    Posts:
    123

    Thank you for reply.

    The steps I took was to just add the FirstPersonCharacter controller and it would work perfect with any moving object.

    I did the same with Unity 2017 and it did not work, so that's all I can give you, I thought it would work like before but looks like update changed something in the controllers.