Search Unity

Angry Bots_Upper Body Rotation Problem

Discussion in 'Editor & General Support' started by Nomad_Artisan, Sep 28, 2013.

  1. Nomad_Artisan

    Nomad_Artisan

    Joined:
    Jun 29, 2013
    Posts:
    20
    Hi all,
    I'm trying to get the angry bots character controller to work only using the following scripts in scene so that I can plug and play on a character of my own.
    PlayerMovementController
    FreeMovementMotor
    PlayerAnimation

    I got this to work using their Player prefab, however when I put in the Player fbx and applied the 3 above scripts, making sure all the dependencies matched, it only works for movement and the upper body isn't rotating to face the cursor.
    I commented out some lines so that the script was only checking for xbox controller input, and the upper body wasn't rotating from the controller input either, so I'm thinking maybe the movementDirection isn't getting sent to the FreeMovementMotor. I'm not sure why though.

    I'm not sure where I haven't looked. Has anybody else encountered this problem?
    How would I troubleshoot this?

    Thank you!