-
Hello, Has anyone used P3-ROC's accelerometer for tilt functionality? There is not much on the MPF doc site...just how to enable the accelerometer in config:
Any example code linking the accelerometer messages to tilt_warnings would be appreciated. Greg |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
There is a example config, anything of use for you? |
Beta Was this translation helpful? Give feedback.
-
That example code worked. I am getting accelerometer hit messages when I shook my table. |
Beta Was this translation helpful? Give feedback.
-
Well now I'm trying to integrate the tilt mode into my game. I've got it registering tilt warnings, and when it hits the limit for tilt (default of 3), it activates ball_ending and plays my base mode slides for ball_ending, all the modes shut down, player turn ends, but then my machine just sits there. MPF does not activate player's next turn ball. Here's where I define everything:
Here's the log when the tilt happens:
|
Beta Was this translation helpful? Give feedback.
-
I've read that the sensitivity and super-fast response of the accelerometer makes it difficult to use as a tilt bob. How is it working in your case? |
Beta Was this translation helpful? Give feedback.
https://docs.missionpinball.org/en/latest/examples/accelerometer/index.html?highlight=Accelerometer%20
There is a example config, anything of use for you?