Forum rules - please read before posting.

Use world-space cursor with controller or keyboard controls

Hi there,

Having built my point-n-click gameplay with mouse & keyboard mode - I am now trying to switch over controller or keyboard controls.

Changing to this method breaks the 'world-space' cursor-example script I had been using to move objects in 3D space. Is this because the cursor is now simulated rather than getting "mouse position"? What could I alter in the settings and/or script to track the simulated cursor instead.

Unity 2021 LTS & latest AC version

Thanks

Comments

  • If you're simulating the cursor (i.e. with the CursorHorizontal / CursorVertical inputs), it should just be a case of checking Use AC Cursor in the World Space Cursor Example's Inspector.

  • Hi thanks, I've changed this setting and while watching the WS cursor in scene mode it still just stays locked in place when playing.

    When switching back to mouse control it follows fine. Possibly something still conflicting with it?

  • Seems to be something wrong with it tracking the AC cursor (tested it out in a test scene to find if it was my project somehow)

  • Recreated - thanks for the details. I will look into this.

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.