toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
Accelerometer Help
VW_Games
Member
Posts:
31
August 2013
in
Working with GS (Mac)
Ok i have an actor that i want to move based on the tilt of the device but i want it constrained to the X-Axis Please help me with this!
Comments
ericzingeler
Member
Posts:
334
August 2013
This should point you in the right direction.
http://ezinterweb.com/gamesalad/accelerometer-filter
TheGabfather
Member
Posts:
633
August 2013
edited August 2013
Forgive me if I am just being slow, but what do you mean by wanting it to move based on tilt but being constrained to the X-Axis at the same time? Do you want it to only move along the Y-Axis? Or opposite of that?
Anyway
@ericzingeler
's low pass filter works wonders if you know how to implement it properly, but I was having trouble with it at one time and
this really old thread from 2010 gave me a workable accelerometer setup. Check out tshirtbooth's replies.
Although it does get jittery still and needs a filter to fix it. You can combine both if want/can
Sign In
or
Register
to comment.
Comments
http://ezinterweb.com/gamesalad/accelerometer-filter
Anyway @ericzingeler's low pass filter works wonders if you know how to implement it properly, but I was having trouble with it at one time and this really old thread from 2010 gave me a workable accelerometer setup. Check out tshirtbooth's replies. Although it does get jittery still and needs a filter to fix it. You can combine both if want/can