Unity Scripting, Animation and Collision

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
38,016
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 27, 2010

An assignment to show a basic understanding of scripting in unity using javascript. Animation using the built in animation tool and a range of different types of collision.

Tubes were modelled in 3DS Max and given mesh colliders, standard shapes given their accompanying colliders and the ball was given a rigid body.

Moving platform trigger was scripted by parenting the character to the platform when it walked onto it, and then unparenting it when it left the platform.

Song is Audiocrunch - Confusion

Unity can be downloaded free at http://unity3d.com/

  • likes, 8 dislikes

Link to this comment:

Share to:

Uploader Comments (fatality674)

  • Awsome!!

    But you should script the character to become a child object to the moving platform on collision,

    then you wont need to walk for preventing you to fall off.

    Just a suggiestion.

  • @Ark4evah

    The character does become a child object to the platform. Without doing that I just kept falling through the platform object. The only reason i turn around so slowly is because i think fraps effected unity when recording, when i play it without fraps recording, the character turns at a normal speed.

  • add a skybox

  • @monkeygamingstudios

    This was only a tech demo.

    In another video I made of a complete project (art gallery), a custom skybox was used there though.

  • Hey. I really Want that "picture in picture" effect. how did you do? Is it only in Pro?

  • @ostdrengen

    Haven't played around with unity in a while, but if my memory serves me right all i did was create a second camera and placed it above the character. I then made it a child of the character so it would follow. Then there should be some settings in the camera properties. You just have to scale it to something between 0 and 1 (1 being full screen, 0.2 works well) and give the window the x and y coords to start from for the camera to appear in a different area.

    Hope this helps.

Top Comments

  • he walk like a gay ;p

see all

All Comments (41)

Sign In or Sign Up now to post a comment!
  • his hands are huge... i would say almost

    3x bigger than they should...

  • @dalobo look up "narutoisgreat1234" on youtube, he makes really good tutorials :D

  • where could i get tutorials for those things? i got a character with a walk but i need a good begginer unity scripting tutorial lol

  • annywone else noticed he has verry big hands xd thumbs up if so

  • he swings his ass when hes walking :PPPP

  • @NLmitchieNL you would probably animate the door by scripting it, not a normal animation. and a multiplayer sandbox game is extremely difficult, considering that requires network programmers.

  • Can you make tutorials on how to insert animations? i want to create a (multiplayer) sandbox game where u can open doors by holding the Left mouse-button and moving the mouse forward / backwards to open/ close the doors

  • Maybe, but I may be wrong as I have not tried the screen in screen could be displayed using GUI. The same way you would display a picture. But again I have not tried.

  • Hey how did you animate the model?

  • @fatality674 Is that picture in picture script up for grabs? If not could you point me in the right direction to making one.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more