January 2

Unity 3D make your own VR Game

This is my own tutorial on how to make a VR game its been done so many times before me but all the tutorials have shitty controls or are outdated.

Here is a sample of a game i did but controls on android device are screwed by the autowalk script i used so need to create my own.

So lets start form scratsh and make en new tutorial that would work with Unity 5.0.0p2 (64-bit)
and Latest Google Cardboard SDK from the Github

Setting up Cardboard

  1. Download the latest version of Unity.
  2. Download the Cardboard SDK for Unity.
  3. Download the Cardboard Demo for Unity.
  4. Download the Android SDK if you don’t already have it. The “SDK Tools Only” option is sufficient.
    Follow theinstallation instructions up to and including “Get the latest SDK tools”.
  5. Open Unity, creating a new project

Also lets download the extra controllers
Requires Unity 4.6.3 or higher.

Cardboard Controls+ is all you need to develop the best Cardboard games in Unity.
These scripts enhance Google’s official Cardboard SDK for Unity with event-driven improvements for discrete magnet control,
orientation tilting, and gaze raycasting. Stop limiting your creative options!
Usage

You may experience problems if you import the code manually without using the provided unitypackage file.

Import them like show below
import them

Controls+ Demo APK download

Unity forgot the Y

Today I was having a problem getting a first person control to work in Unity for Google Cardboard. I had done it once but could not remember how to do it again. The problem I was having was that once the controller was attached to head i has just falling through the terrain. I attached the controller to the camera (but not the head) and this would solve the problem of falling through the terrain, but the head was not attached to the controller so movement was set in the start and would not change based on head movement.

My solution to the problem, once you have added a first person control delete its camera. Put it under CardboardMain and all cameras under the first person control. Add a component to the First Person Control. This component should be the CardBoard Head (script). Next uncheck the Track Position button under the Head (script) you just added, and the Mouse Look (script) also under First Person Control. Finally delete the old Head object in the Hierarchy.

Hope this can save some time with anyone else with this problem,

Couple of Bros

Category: Coding, DIY, Games, Google Cardboard, Unity3d | Comments Off on Unity 3D make your own VR Game
May 23

Google Cardboard.


Picture of the crappy build later 🙂
Not so good lenses.
Info about the needed lenses:
 

Then bought the Shit 🙂

Black Google Cardboard @ 45mm Focal Length Virtual Reality Headset
Version with Free NFC Tag & Headstrap

 

  • Complete Kit with NFC, Head-strap, Kraft Cardboard, pre-built and assembled in seconds.
  • The perfect solution for Virtual Reality on a budget!
  • Easy to assemble. With Printed Instructions and easy to follow numbered tabs.
  • Biconvex lenses 25mm in diameter and Focal length 45mm (exact google cardboard specification)
  • All rights reserved by Abasin Global Trading Ltd.
A Plastic version (No controls)

Andoer® Google Cardboard Plastic Version Virtual Reality DIY 3D
Video Glasses VR Bi-convex Head Mount Hands-free for 4-6″ Smartphone

  • 3D VR Virtual Reality glasses, wonderful Real 3D Experience; Plastics manufacturing, excellent workmanship.
  • You can use this item view 3D movie and 3D game on your cellphone.
  • Uses ABS and spherical resin lens materials without stimulation plastic sheet, environmental.
  • Can work with ISO system and Android 4.1 (or above versions) cell phones which is 4 – 6 inches.
  • Secret images, other people can not see anything except to the wearer himself.

 

 

Lets watch some video´s:

Demo´s

 Demo´s
Category: 3d Model, Anaglyph 3D / Stereoscopic 3D, DIY, Google Cardboard | Comments Off on Google Cardboard.