Quantcast
Channel: Questions in topic: "interpolate"
Viewing all articles
Browse latest Browse all 93

Tilt aircraft based on accelerometer

$
0
0
is hard to explain, so i put some images to visualize. i have the aircraft that not move on world space... i put a "LookAt" to move camera around. So when i go to the right (X=+1) i like to tilt the aircraft on Z axis. The same to other side. See the images: ![alt text][1] ![alt text][2] Everything is fine: camera, movement on a limit range... but i can't make the Camera tilt when i go right and left (the view, not the camera itself)... i try Quaternion.AngleAxis, Quaternion.Slerp, Quaternion.FromToRotation... [1]: /storage/temp/21463-back-view.jpg [2]: /storage/temp/21465-top-view.jpg

Viewing all articles
Browse latest Browse all 93

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>