More messing around with Unity3D

Last week I spent some more time experimenting with Unity3D. My friend Erik is a 3D artist and give me this German tank to use for my experimenting. I couldn’t resist and build a completely politically incorrect scene with this, so – as I live in London – I decided to recreate the Big Ben, Parliament and Westminster Abbey.

Tank

[Click the image to play]
Controls:
Move: w,a,s,d
Toggle camera: c

Drive around, enjoy the view and then destroy it! 😀

I must say Unity3D is absolutely amazing! This whole thing took me about 16 hours to build and most of that time was spent in getting to know the GUI. This demo includes some physics, particles and a whooping total of two scripts. It only took two very small scripts to get that whole thing to work, how awesome is that?!

Links:
Tank demo: http://ansuz.nl/toys/unity3d/tank/
Move script: http://ansuz.nl/toys/unity3d/tank/Move.js
Toggle Cam Script: http://ansuz.nl/toys/unity3d/tank/SwitchCamera.js
Erik’s portfolio: http://pilsje.net/erik/

First Unity3D experiment

I started doing some experimenting with Unity3D and I must say I love it so far! 😀
As a first test I wanted to be able ‘drive’ a simple car and have some collision detection.
One problem I ran into was being able to switch cameras. There is no method available at the moment to retrieve all cameras in a scene, what you can do is retrieve all enabled cameras. What most people, including myself, end up doing is creating a script that allows you to set an X number of cameras and you toggle between those.

My first Unity3D test

Click the image to see my first test running.

Controls:
Move: w,a,s,d
Toggle camera: c