Actor Behavior for Accelerometer game
jbrown2177
Member Posts: 66
As I've been posting about this for a while, I'm still working to get the right behavior for my platform actor. I want it to function like a tilting platform which uses the accelerometer (iPhone) and key presses (web). One problem I've run into is to have the platform snap back to an idle position if a key is not pressed. So far I can press left and right and it will lean at an angle to both sides respectively, but when the key is not being pressed it remains still in the last position. What movement action or command will make it snap back to it's original location?
Comments