|
3D Free Space Flight NavigationHi everyone! I have been trying to create a free space flight navigation, so I used a example composition I made long time ago, the City Game. My problem is the rotation, so when looking up, and then I want to rot Y, my example keeps looking up but don't turn to right. Also when turning 180 degrees X axis, then turning left and rigth are in the opposite way. The main concept is, instead of turnning the 3d object, it's me sitted on a cavin flight I need to turn and translate. Thank you in advance!!!
|
Still looking into this, but if I attach a Keyboard patch and reset your Trackball patch the cityscape turns upside down, which can be rectified by using a 3d rotation patch and setting x to 180.
Are you saying that as soon as you hit left or right for the rotate, that you want the "w" control to reset instead of staying at it's current setting?
Hi! offonol This is Saburou flight controlled by mouse position.
From my example, when w control rotates to -90 so the point of view is looking to the sky, then Y rotation is turning but still looking up. the idea is to turn to left, to do so I would then use Z rotation but don't know how to combine Y and Z axis rotations. :(