HELP with Joystick controls

TboneTbone Member Posts: 49
edited November -1 in Working with GS (Mac)
I've already posted in Player_E's thread but I thought Id throw it out to again.

Im using codemonkeys joystick controller but I want to limit the range of motion to 180 degrees. I dont want my actor moving or facing backwards.

Can anyone shed any light on how I can achieve this?

Comments

  • synthesissynthesis Member Posts: 1,693
    Try putting the functionality inside a rule check so that it only functions if the angle is >=-90 (or 270) and <= 90.
  • TboneTbone Member Posts: 49
    Many thanks to you Synthesis! thats awesome mate and exactly what I needed. Works great now.

    Your Bumper Derby has got a lot going on and I wanted to ask you what frame rate you were getting ? How have you handled your optimization?
  • quantumsheepquantumsheep Member Posts: 8,188
    "How have you handled your optimization?"

    /goes to make a cup of tea in preparation for a mega post/rant

    ;)

    QS

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

Sign In or Register to comment.