Forum rules - please read before posting.

Direct movement can go off-mesh

Hi all

I'm playing with giving the user the option to have direct control for physical Controller support. The manual says that if I have the Navmesh Agent and Navmesh Integration, that the player shouldn't be able to move outside of the navmesh. However I'm seeing that the player can be moved out of the navmesh.

See screenshots below.

https://drive.google.com/file/d/1U_bOF1z5q9m8RLuaQ2zf-VdHjxT4Svov/view?usp=sharing, https://drive.google.com/file/d/1qOEuXE1KwzZCubcXYubDQqyh4cEVnyNj/view?usp=sharing

I don't have colliders stopping the player, instead I have a navmesh on the floor layer, with navmesh modifiers excluding areas to keep the player constrained. This works fine in Point and Click mode but not in Direct mode with the above components attached.

AC 1.78.4
Unity 2022.3.4f1

Olly

Comments

  • Currently, the feature works by detecting if the game begins in Direct control, rather than it being set at runtime.

    Are you switching to Direct control mid-game? If so, enable this by default - does it then work?

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.