VR Controls


VR CameraRig

Since the camera was already set in place, this step was completed almost at the very beginning of the project.



VR Airplane Movement

One thing was the struggle of just getting the airplane physics to work in the Unity engine, but this is where the real struggle started... It has taken several days and is still an ongoing probelm. Several different solutions have been tried, and not a single has worked out propperly yet... The first guide to acces VR controller input was Managing Controller Input and Hand Presence, which deemed unsucessful and the same for many others, which led to the guide; UNITY VR CONTROLLER DATA. This guide seemed promising at first, but ended up with what feels like the most frustrating problem in the world. One small red word in the code, that has been spent days trying to fix, with no luck whatsoever...

After countless amounts of failures with this approach, and way too much time wasted on what felt like no progress, another approach had to be taken. Firstly was looking through the scripts that came with the OVRPlayerController, but after a long time trying to figure out how to change it, to match it to the script that already made the plane fly, was to no use and only resulted in more time spent on zero results.

Following a guide to use the built in was the last option there seemed to be available. The guide chosen was Unity's New Input System. At first there was optimism for this to work, but after even more countles hours of trying to make the airplane fly in VR, there were still no results. With what seemed like no more help to be found online, the last option at hand was to try and mess around with everything as much as possible until a solution might be found. After way too many days spent on this part of the project, a small amount of progress was finally made, and even though it is far from good enough, it was a step in the right direction. Unfortunately the time for the assignment has run out at this time, and a sadly unfinished project is now what is left...

The final progress

The final progress was being able to tilt the plane right to left, and up and down. This felt like a massive achievement, but unfortunately it came too late and was the last.



These are the last additions to the simulator for the assignment, hopefully I will find time to pick it up again one day and actually complete the simulator, since I did find all the failures extremely dreadfull, there was still a lot of excitement in the build of the project itself.

Get KIT208 - Flight Sim

Leave a comment

Log in with itch.io to leave a comment.