O'Reilly logo

Unity 3 Game Development HOTSHOT by Jate Wittayabundit

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Are you ready to go gung ho? A Hotshot challenge

Now we understand the concept of creating the destructible objects, but the objects that we just created are on the cube from the Unity engine. We can make it more interesting with something like the following:

  • Creating your own object in any 3D software, instead of the cube, to make it much more realistic and attach the ParentRocks.js script to it and see how it works
  • Adding some script that will make the rock damage the player and AIs when they get hit while the rock is falling down
  • Adding the smoke particle to the rocks when they are falling down
  • Making the ragdoll match the last AI animation post by creating the ragdoll with the AI game object and using the isKinematic method to enable or disable ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required