Forum rules - please read before posting.

Character falling off edge of mesh

I've just started using AC and I love it! I'm working on a 2.5D game where the character is controlled directly with a keyboard/controller. Currently, my scene is set up with invisible boxes manually placed along the edges of the floor so the player doesn't fall off. I was just wondering if there was a way to make the player not fall off the edge of the mesh by default.

Thanks!

Comments

  • Welcome to the community, @Matt_W.

    Indeed there is! When working with a 3D NavMesh (used in 2.5D games as well) and Direct movement, the Player Inspector has an Auto-stick to NavMesh? option that prevents them from leaving it.

  • Thanks Chris! Is it best practice to always use a NavMesh even when not using point and click controls?

  • It's not strictly necessary, but it's often useful to have. A NavMesh is generally good to have, as it'll be used by characters that move using the Character: Move to point Action. This includes NPCs, and the Player during cutscenes.

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.