In this post I won't go over how to animate a character in Unity or the basics of Playmaker. Those can be found here in a tutorial by Professor Dan Pachecho. However I did want to touch on the subject of Global Variables, which are very important to this construction. Basically, a global variable can be called by any object's FSM and whatever is stored in the variable is shared throughout the scene. This allows you to store values such as Health or distance and call them from any object....
Assignment 5 – First Unity Scene: HTC Vive and Basic Combat
- by Evan Jenkins
- February 24
- in
For my first Unity scene I created a small medieval scene with the outside of a house and a small castle corridor. I ported it into the HTC Vive and scripted a simple melee system that works with the hand controllers. Things that worked: For the most part, creating the actual scene in Unity was simple enough. I adjusted terrain and created a crater in which my scene took place so the player doesn't venture too far outside the scene. I found some free assets from the store...
Fixed Teleporting with the Vive in Unity
- by Evan Jenkins
- February 22
- in
Having successfully ported my Unity project to the HTC Vive I wanted to give my users locomotion, so they aren't stuck in one 10 ft by 10 ft square. The SteamVR Unity Plugin comes with a script called 'Steam VR_Teleporter' and that requires a script called 'Steam VR_Tracked Controller', both of which have to be assigned to each controller (or just the one you want people to teleport with.) Sounds simple enough. It wasn't. Unfortunately there is an error with the teleporter script that basically makes it unusable without modification, and there are...