Tilt to control
I'm sure this must be simple but I can't figure it out.
How do I use the accelerometer to control an actor by tilting the device left and right while it is vertical. I can set it up easy enough so the accelerometer controls an actor when the device is on a felt surface but not while it is held vertically.
Thanks in advance
Chris
How do I use the accelerometer to control an actor by tilting the device left and right while it is vertical. I can set it up easy enough so the accelerometer controls an actor when the device is on a felt surface but not while it is held vertically.
Thanks in advance
Chris
Comments
y axis only.
How do I do that?
I don't know to what number, but I'd guess 90. Just mess around with it a bit.
I hope that helps