Forum rules - please read before posting.

Unitys FPS controller -> AC Player

Hi!
I want to use the Fps controller that comes with the Unity FPS scene. https://imgur.com/yz9q00a

I want to convert it to a AC Player, so that i can use it with AC.
https://imgur.com/2edDcA3
When i add the player script to unitys FPS controller..
it looks like this
https://imgur.com/zsE93ET
and i fall through the map if i press play.
https://imgur.com/lchPNJj

if i dont add ACs player script the controller works fine, but then i can´t utilize ACs functions.

Comments

  • Add the Ground layer to the Player's Ground-check layer(s) field - that should stop them moving through the floor.

    To prevent AC's Player component from taking control over the character, set its Motion control field to Manual.

    To have AC take control during cutscenes, you'll need an integration script that allows the two assets to communicate. Details on this can be found in the Manual's "Custom motion controllers" chapter.

    I'm afraid I'm away from my desk on holiday at the moment, but when I return I will look into providing such as script. As a temporary alternative, you can drop the FirstPersonPlayer prefab from the "First Person Player" package you've imported into the scene.

  • Thanks for your patience with this.

    I have updated the AC wiki page with an integration script:
    https://adventure-creator.fandom.com/wiki/Unity_First_Person_Controller_integration

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.