The basics of creating a ski simulation or game in Unity3D

This is a continuation from our first tutorial on how to import Google Earth terrain into Google Sketchup, and then pull it into Unity 3D.  In this installment, you will actually be able to make a simple, but not fancy, ski simulation, which can be eventually turned into a video game in Unity. This one covers basics of adding a directional light to the terrain, as well as a texture. I then show how to import a prefab skier object, and then assign a Character Controller and Rigidbody to it. Scripts for moving the camera around the skier (MouseOrbit.js – available in Unity Standard Assets) and the skier itself (MoveAround.js) are shown. Other elements such as snow texture and trees are applied to the terrain. And finally, a basic Trail Renderer is shown to give the effect of snow tracks.

Here are the scripts used;
Skier physics/movement: MoveAround.js
Camera movement: MouseOrbit.js

Here is the skier model from Google’s 3D Warehouse: http://sketchup.google.com/3dwarehouse/details?mid=5f527a002f5d7aee4c7bf34a008a31ed&prevstart=24

 YouTube Tutorial

Comments

  1. Hi, thanks so much for your two tutorials on the terrain and skiing game. I’m thinking of making a skiing game, and it will be my first proper use of Unity for 3D (I’ve just done basic 2D so far)… so it was also nice just to see you clicking around Unity itself as well, and how you go about placing your objects and moving around the scene view.

    The Ski Resort demo is fun too 🙂

  2. Thanks for the kind words, Ricky. I’m actually posting my entire project on the Unity3D asset store (it’s in approval process now). It’ll be around 50 bucks if approved. If you wanted to post a request for a ski game at the Asset Store forum, that would help in approvals I think also! 🙂

  3. Ski Game Starter Kit is now live on the Asset store! 🙂
    http://u3d.as/content/alpenglow-games/ski-game-starter-kit/2FM

  4. Ricky,
    This may help get you started…
    Ski Game Starter Kit is now live on the Asset store! 🙂
    http://u3d.as/content/alpenglow-games/ski-game-starter-kit/2FM

Speak Your Mind