Oculus And Positional Tracking

I got this working only yesterday. There is still a lot of changes to be made to it but right now it is fully functional. I read quite a bit about other implementations of positional tracking for Oculus games, and it seems it is as simple as attached the Sixense prefab to the camera in game. However some changes had to be made to how the game calculates the height between the floor and the base station so that the player can crouch effectively. Just attaching the prefab led to the player being able to crouch under the game world and go through walls, so by making some changes, this is far less likely to happen.

I want to make some more changes so it is easier to crouch lower and also have the hand and wand start a bit further from the player, as I think it clips into the players collision box a bit too easy with how close it is now. Here is a GIF of me peaking around a tree:

 

Tree Peak

And finally a GIF of me crouching and looking into a well.

Croutching

So now that this is working, along with all of the spells, I have pretty much a complete working project. All that is left to do is to make some tutorial levels and then one larger main level which takes advantage of the spells you have. I have a few ideas of cool ways to incorporate the spells in game and can’t wait to start designing the levels.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s