Forum rules - please read before posting.

3D Game - Character turns, but doesn't move

Hej everyone,

I'm kind of puzzled here, not really knowing what I am missing. As stated in the title, I have a 3D Adventure, Point-And-Click Interface. I imported my room geometry and a navMesh (set to Mesh Collider Pathfinding, assigned as default navMesh), imported my character, created the prefab and assigned him as well.

Now, when I start my game, and I click anywhere on the navMesh, the character turns accordingly to the click, but never moves a single bit.

Somewhere must be something I'm missing, but really don't know where. Perhaps someone has had the same or similar issues and can help out.

Thanks in advance,
     Cat

Comments

  • Welcome to the community, @Cattacoon.

    We'll have to do some testing to determine the problem - right now, it's not clear if this is an issue with your Player, or with the scene.  Therefore, here's a couple of things you can try, in order to pinpoint the cause:
    1. Load the 3D Demo scene, Basement, with your own Player prefab present in the scene file.  If you can navigate the scene correctly, which is also set up with Mesh Collider pathfinding, the issue will be with your own scene's NavMesh.
    2. Place the 3D Demo's Player Prefab, Tin Pot (found in /AdventureCreator/Demo/Resources) into your own scene file and run it.  If you can move him around, the issue will be with your own Player.

    I'll be signing off for the New Year until Monday, so here's a couple of other things to test in the meantime:

    1. Check your Player Inspector's movement settings, particularly that the Walk speed is non-zero.
    2. Check that your NavMesh's normals are correctly facing upward
    3. Check the Console window for any relevant error messages
  • Thanks Chris, 

    I tried as you said, and it was in fact a problem with my player. I made a vertex animation, that had been baked in (did it real quick, as I only wanted to test the workflow). Changed it to a bone animation and now everything works fine.

    Greets, 
         Cat
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.