Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: trsnell on February 06, 2021, 11:17:34 PM

Title: warp cursor
Post by: trsnell on February 06, 2021, 11:17:34 PM
I'm working on a game with both a camera rotation and point and click system. While rotating the camera, the cursor of course moves, so from the player perspective the move cursor appears to pop around after rotating the camera. I'd like to have it reset back to where it was before moving, so that after you rotate the cursor "stays" where it was.

I came across this in the package manager input system, which should do what I need.
https://docs.unity3d.com/Packages/com.unity.inputsystem@1.1/manual/Mouse.html

Would anyone be able to make an action with the mouse X and Y as variables?

Title: Re: warp cursor
Post by: djaydino on February 09, 2021, 04:24:09 PM
Hi.
This asset can control mouse position : Cursor Control (https://assetstore.unity.com/packages/tools/input-management/cursor-control-66097)

You can use Get/Set Properties actions to use this or you can get this asset (http://u3d.as/1kig) which includes actions for Cursor Control