VR Learning Lab – Week 2

This week I focussed on fixing the problems I build last week: the randomly spawning buildings apparently need both a collision and a ridgetbody to be able to be used in scripts. I also optimised the spawning a lot by not placing a building on eveyr possible location and then removing the overlapping buildings, but by simply checking inside of the spawn object if any objects is overlapping, and if so then no building would be spawned. One by one the buildings are palced, which removes the huge lagspikes at the beginning of the game.

The camera now also rotates the question game object so it is always facing the player. The Unity rotation system is very confusing and at first the questions had a 90 degree offset from the player, hiding them perfectly from the player, causing all the buildings to fly around in the room as soon as they were spawned

But after some more tweaking I found a way to make the question game object a child of another game object, which I could rotate in degrees without getting a huge offset from the center of the object. Another problem I faced was that my right hand would refuse to work in hand-tracking, as it turned into spaghetti. After a lot of digging I found out that the script inside the hand prefab needed to be set as ‘right hand’. I did this for the first 2 scripts, but apparently it needed to be done on a 3rd one.

I added a way for the player to punch the answers out of the air, and the question would fall out of the sky using gravity: the sprinkler would reflect the made answer, just like the CoSpaces game, but unfortunately I have lost my footage of this finished project.

I then started work on an idea of Michelle, to have ARchie be taken apart, and all the parts on a table, which would be used to put him together. The parts can be grabbed and pushed inside a blueprint, which would complete his material and make it visible. Last but not least, I modeled a floppy, so players could find them around the room with little code-blocks written on them: the code would be executed on ARchie, making him do things like fly around the room.

And image of the Endless AI Art Gallery
Blender

Endless AI art gallery

This is a project made with and for Virtual Reality Learning Lab using Unity3D. This project contains a virtual gallery that the user can explore,

Read More »

testing testing