Quantcast
Channel: GameSalad 101 — GameSalad Forums
Viewing all articles
Browse latest Browse all 8931

Accelerometer Control Question

$
0
0

@ericzingeler provided this demo for smooth accelerometer control:

I've got this method working pretty well in my game Airlift which is free for iOS if you want to have a look. But, someone recently pointed out that if you tilt the device too far up then you go down instead of up. I noticed this happens in the demo as well.

I assume this happens because the orientation flips, But it happens even if you lock the orientation of the screen by only checking landscape right when publishing. I tried unchecking all of the auto-rotates in the scene attributes but that didn't have any effect.

Perhaps it has something to do with the Z axis instead? Anyone have any ideas? I would love to fix this in my game.

Thanks!


Viewing all articles
Browse latest Browse all 8931

Latest Images

Trending Articles



Latest Images