playMaker

Author Topic: Set Mouse Cursor Offset?  (Read 2074 times)

Blubbfischtier

  • Playmaker Newbie
  • *
  • Posts: 11
Set Mouse Cursor Offset?
« on: July 01, 2014, 05:42:15 PM »
hey guys :)
is it possible to create an offset with the "set mouse cursor" action?
this would be awesome!
i'm developing a game with the oculus rift, but setting the cursor to center locks it between the two eyes, so an offset is highly recommended.
I've read a lot of suggestions doing a raycast instead of lock cursor to detect if somethings is in range, but this causes some other problems in my setup…


thanks,

play_edu

  • Full Member
  • ***
  • Posts: 116
Re: Set Mouse Cursor Offset?
« Reply #1 on: July 02, 2014, 02:01:21 AM »
+1

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Set Mouse Cursor Offset?
« Reply #2 on: July 03, 2014, 12:51:38 AM »
Hi,

 you mean in Unity 4 right? Unity has a new cursor class. In Unity 3, Cursor is only dealt with using the GUI system.

bye,

 Jean