Hi guys,
So I've been using the example script WolrdSpaceCursor for a while now and its been working great however when switching input to Controller it stops working.
I'd like to modify the script so it gets the current cursor position instead of the Mouse Position but after reading the scripting guild I can only find ways to get mouse position not the simulated cursor position for Controller input.
Thanks
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
You can read GetMousePosition to get the position of the cursor regardless of input method:
Forgive my basic understanding of this.
Instead of have KickStarter.playerInput.InputMousePositionDelegate = CustomMousePosition;
it should be replaced with KickStarter.playerInput.GetMousePosition (CustomMousePosition);
Correct?
No. Replace:
with:
Ok got it working. Thanks!