On Shake event for Accelerometer or Gyroscope

Any hardware type questions or problems for all other Phidget devices.
Post Reply
drumminhands
Fresh meat
Posts: 3
Joined: Wed May 17, 2023 2:51 pm
Contact:

On Shake event for Accelerometer or Gyroscope

Post by drumminhands »

I'm using the MOT0110_0 PhidgetSpatial Precision 3/3/3. I already have code working to use the spatial to change a game object's orientation in Unity.

But I want to trigger something if the sensor is in a state of constant shaking. I could use either the accelerometer or gyroscope. Any advice to get an OnShake event type of situation working?

Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests