playcraftengine icon indicating copy to clipboard operation
playcraftengine copied to clipboard

Device orientation input type

Open natchiketa opened this issue 11 years ago • 0 comments

Add an input type for the device orientation. In order to use the positional object (pc.Point), only event.alpha and event.gamma (z and y axes, respectively) are captured, but this accomplishes control on a 2d plane (e.g. rolling a ball around a maze).

natchiketa avatar Jan 25 '13 00:01 natchiketa