playMaker

Author Topic: Time scale 0 (UDLR no longer works but buttons do)  (Read 1513 times)

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 496
Time scale 0 (UDLR no longer works but buttons do)
« on: January 24, 2015, 12:32:44 PM »
This is probably a unity question.

So with timescale action it seems if you set it to 1 the joystick controller works, but if you set it to 0, the joystick UDLR no longer works.  the buttons work, but not UDLR.  Is there a way to get them to work? 

I'd like to pop up a pause menu.  I have buttons assigned to volume and mute sound so wanted to use UP to return to game and DOWN to go to main menu.  I'm trying to use 4 buttons and 4 directions for everything to maintain compatibility.

I've tried the asset store with a couple of pause/time scripts but they do exactly the same thing that playmaker does.  That was a waste of money.

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 496
Re: Time scale 0 (UDLR no longer works but buttons do) [solved]
« Reply #1 on: January 25, 2015, 02:48:27 PM »
So after hours of searching I found out that "You can also use the Input.GetAxisRaw method, which will work even when timeScale = 0".

So I do not see a Input.GetAxisRaw action.  Is there one or could one be made?

Setting the timescale to .0001 (lowest allowed) worked.  It's a dumb way of doing it, however a Input.GetAxisRaw action is still needed.
« Last Edit: January 25, 2015, 03:21:31 PM by wheretheidivides »