Lost in Space

I made it home from my trip to CA and tried to move the VR project Ive been working on from the Laptop to the PC. Seemed simple enough. Until it wasn't. I got everything loaded, and as soon as it launched and I put the headset in, Oculus launched and updated the software on the Quest. And it broke everything. Oculus link kept popping up and crashing my computer by causing forced power downs. It wasn't pretty. After fighting the two for a few hours I decided I would create a new project just to see if I could get it working. I created a new project, followed the tutorial I made for setting up VR and got it working. The old project would not load in the headset no matter what I tried, so I decided to move forward with the new project. After an hour I had caught up to where I was before. My goal for today was ship rotation. Basically, I created a script to rotate the flight stick according to hand position when grabbed, this controlled the rotation of a transform, and I was going to lerp the rotation to match. Everything seemed to go well, but when the flight stick snaps back to (0,0,0) the rotation just stops, rather than slowly settling back its start point. I’ll have to look into it tomorrow. The next bridge to cross is ship movement. I have a throttle and I can clamp the rotation, and base speed off of rotation, but right now Im trying to figure out the best method of movement. I tried translating on the transforms forward axis, but strangely it was drifting off constantly in the same direction. I tried a rigid body but it was reacting strangely to the colliders on the ship and sending it into a spin. I’ll probably have to set the colliders to kinematic and go from there. Besides almost making myself sick from spinning a ship in VR, it was a fairly productive day. In the meeting this morning the other leads brought up a way to get the console working in the headset, but it still doesn't seem to want to go on my end. Hopefully I have a functioning ship by tomorrow!

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Austin Mackrell

Austin Mackrell

A Honolulu based software developer, that enjoys surfing, spearfishing, and making videogames