- Home /
animating, physics, and damage points... ((animating))
My question is about the subject and I am creating a game here in Unity using terrain as the floor so its outside you know and it is first person also. The point of the game is see how long you can escape the apocalyptic fire balls falling from the skies and to dodge them I will be making my own dodge commands like left dodge and so on but you can control the view with the mouse so you see the freedom i have here.
My question is I wanna know how to start when it comes to the animation of the boulders that'll be falling from the skies and this question is simple it is i just wanna make them roll to the like for say y axis while I had it set on a rigid body ( ican figure out how to spawn multiple ones and in random places) i just dont know how to animate the moving boulders falling from the sky any idea on a couple steps to start me or atleast a page with the animations window of commands and excercises etc... Appreciate your time to help me lots i really really do :]
-Johnny Rocket Fingers
Answer by weenchehawk · Feb 02, 2013 at 01:12 AM
If I understand your intent corrcetly there's no need to animate - let teh physics simulator do the work for you. Create a boulder texture, attach it to a a sphere mesh (or boulder mesh), give it a rigidbody & mass, and randomly instantiate() it at x,y & z coordinates. apply a little extra force in a random direction (rigidbody.applyForce()) and just let the simulator play it out.
Answer by JohnnyMoly · Feb 04, 2013 at 06:25 AM
wow bro your the best good looks on that! Saved my whole day to burn ;] Ill post the outcome like in a hyper-cam video to show the viewers what that would look like Thanks gain boss.! ;]