Alright, new test. simple script for rotation an object to the accelerometer:
float x = Input.acceleration.x;
float y = Input.acceleration.y;
float z = Input.acceleration.z;
transform.Rotate(x,y,z);
This will likely fail miserably, but it is just a first test.
(Rumble rumble....)
Actually it works.... But the plate will start spinning and not stop. That is a weird thing. But still it works. Translating position works...to extend.
Geen opmerkingen:
Een reactie posten