playMaker

Author Topic: Custom action for getting angle works on PC but not Mac  (Read 658 times)

HodgieQuest

  • Playmaker Newbie
  • *
  • Posts: 1
Custom action for getting angle works on PC but not Mac
« on: January 03, 2020, 04:37:44 PM »
I am using playmaker to make an Oculus game. I am trying to use the angle of the controller to drive the flight of a paper airplane. The idea is that tilting the controller to the right makes the plane glide right, and tilting to the left makes it drive left.

I made this work on my PC by using this custom action:
https://hutonggames.com/playmakerforum/index.php?topic=3027.0

It gives me the positive and negative values of the rotation, which I hooked up to a multiply operator and connected to the velocity of the plane.

The action works on my PC but I mostly work on a Mac and package builds to the Oculus quest. When I try it on a Mac, I get no value from this action. This is the first thing I have run into in development that works on a PC but not a Mac with the exact same build.

Questions:
1) Is there anything that would cause a custom action to work on a PC but not a Mac?
2) Is there another way to approach this problem using native actions?

Thanks!