playMaker

Author Topic: PlayMaker fighting UltimateFPS over mouse control  (Read 1473 times)

Bradamante3D

  • Playmaker Newbie
  • *
  • Posts: 3
PlayMaker fighting UltimateFPS over mouse control
« on: March 19, 2015, 04:37:18 PM »
Hi,

looks there's a problem with PlayMaker fighting UltimateFPS over the mouse

In my Arch Viz project I got a menu scene and a content scene. In the content scene I use UltimateFPS, which hides the mouse if the window gets focus. Going back to the menu scene there is an Action in the Menu Controller that should unhide the cursor, but it doesn't.

The state machine in the content scene is: START -> FadingIn -> Playing -> Exiting

I can add a SetMouseCursor Action with Hide Cursor [ ] unchecked in Exiting - doesn't help. In the menu the cursor is still hidden.

On a related note:

In FadingIn I use CameraFadeIn to fade the camera in. Works. Problem is: When I exit Play mode the camera stays black. Only loading the menu scene and then the content scene again changes the camera back to visible. Also quitting the app and restarting helps. Enter Play again however and the cam stays black.

Adding a FadingOut state to the content FSM does not help. The fading out effect does work, but the cam stays black again. Doesn't matter how long the action takes, 2 or zero seconds.

Using the FPS controller from the Unity Standard Assets solves the cursor problem, but not the camera black problem.

Unity 5.0
PlayMaker 1.7.8.2
(project started fresh in U5 release version)
« Last Edit: March 19, 2015, 04:46:08 PM by Bradamante3D »