Day 3
Space Shooter Game Continued
Yesterday to try and get a better handle on Unity I started another walk through tutorial to create a space shooter game which I've continued to work on this morning. This is a short capture of the basic fundamentals of the game. It took a decent chuck of my day up today to finish it but I think i'm feeling a little bit more confident with how elements interact and how scripting plays its part in Unity (maybe).
Trial Hands
I'm having an issue with version of the hand simulation where when I attempt to pick up boxes they fling away into outer space with just the slightest touch. Trying to find a way to make them "heavier" so that it takes more to make them move, changing the mass in the rigid body component doesn't seem to affect it much.
Example of what I mean with the boxes, not sure if this is normal??
Interaction Engine
Currently playing around with Interaction Engine to see if I can fix the interacting with boxes issue. Theres some really cool things that are possible with the interaction engine that I've been playing around with this afternoon through their example scenes.
The first two would probably be the most relevant which show how to make objects behavior more how you expect to (what I was talking about earlier) a swell as create a usable UI within the VR program. I haven't fully worked out how to implement this yet, will take some playing around with I think.
I went on Sam's Demo and the boxes aren't acting how I would want them to either, so am not quite sure where to go with this.
I also started building a UI inside the VR however it has no functionality yet as I'm not sure how to detect a button press. Currently I just have a simcontroller that listens for a the R key to be pushed to reset the boxes, however I assume that I'll have to obtain a reference to the button in the sim controller and then check whether it's pressed
Image showing just a plain cube with a black button on that when clicked restarts the simulation.
https://github.com/leapmotion/UnityModules/wiki/Getting-Started-(Interaction-Engine)
Update:
Managed to get the button working via the sim controller
- My reset doesn't seem to be working as expected, for some reason the new scene is loaded but dimmer.
Tomorrow:
- Create a better environment to test the hands with (objects, the UI panel etc)
- Create a list of sequential tasks needed to complete the implementation
- Try to work out how to change the hand models
Comments
Post a Comment