The above video goes away if you are a member and logged in, so log in now!

 Would you like to get all the newest Gaming News fromQJ.NET in your email each day? Want to learn more about the team who brings you the QJ news?

[Tut] Maya: Fun with Physics (almost done)

This is a discussion on [Tut] Maya: Fun with Physics (almost done) within the General Off Topic+ forums, part of the QJ.net Forum Miscellaneous category; --------------TEMPLATE AND SCREENS NOT UP YET-------------- Alright, here it goes, my first tutorial for Autodesk Maya, or anything at all ...

 Tweet
1. [Tut] Maya: Fun with Physics (almost done)

--------------TEMPLATE AND SCREENS NOT UP YET--------------

Alright, here it goes, my first tutorial for Autodesk Maya, or anything at all for that matter, so if I could add anything to make it more clear, just tell me.

Today I'm going to show you how to use Autodesk Maya (Get it here if you don't already have it [learning edition]) to simulate real-world physics, as well as have objects collide, into each other. Now you can either download my template, completed example, or create your own polygons to follow along with this tutorial. I recommend you download the template, as this tutorial will be made following that template.

Tutorial template (Recommended)
Completed Example

Step 1 [Hard Surfaces]

Okay, so first thing we are going to need is a hard surfaces so that our objects don't fall continuesly into the depths of Maya. To do this simply select the plain and block behind the cylanders (our 'pins'). To select multiple items hold 'Shift' and then Right click on your objects.(as so):

Once the plain is selected, select the dynamics tab:

In the dynamics tab click on the Icon that has a ball bouncing off it:

Congratulations, you've succesfuly made Hard Surfaces!

Step 2 [Gravity]

Next thing we need is Gravity to the pins so that when knocked over they fall down, we also need to add gravity to our ball so that it doesn't go randomly flying. To do so we simply select all the pins and the sphere (with the same method as selecting the plain and block, Shift + Right Click). Now go into the 'Dynamics' tab once more and hit the button with a Green 'G' and arrows pointing down.

(PS, to those of you wondering, we don't add gravity to the plain and block, becasue if we did, the Ground and Block would continuously fall down.)
(PPS, you can also edit which way the gravity pulls by editing the attributes)

Step 3 [Make the Pins 'knock-able']

To do this we must once again select all of the pins (but this time only the pins). Once you have all the pins selected, go ahead and hit to the button with what looks like bownling pins being knocked over.

And that's it for this step, all this did was make it so your pins could be knocked over.

Step 4 [Collision]

First off, let me say that we don't need to edit the pins, block, and plain to collide with each other, as we have already, in the previous steps, added attributes that make them colide with each other. However, we have not made the sphere and pins collidable. To do so, select all the pins and the sphere. Once you've done so, simply click on the bowling pin with an exclamation mark [!].

Step 4.5 [Animation Preperation]

This is just some animation preperation so you can see your physics in action. First in the lower right hand corner of maya next to the 'time slider' you should see 3 boxes in pyramid form (1 on top, 2 on the bottom). In the lower to boxes, select the right hand box, punch in any number above 250 (what this does is increases the amount of frames in your animation).

One las step here, simply select the gray box on the far right side of the animation time slider, and pull your mouse to the right, this will make all the frames view able.

Congratulations, you're now prepared for animation.!

Step 5 [Adding movement to the ball]

Next we have to make our ball move forward to knock over the pins, to do so, first select the ball and hit 'Ctrl+A' (this opens up the attributes). Next, increase the initial velocity on the z-axis to -15+ (I know it's a little confusing, what I mean is -15,-16,-17 and so on, reason it's like this is becasue the ball is moving negativly on the z-axis in this particular case).

Congratulations, you've succesfuly added ball movement!

Step 6 [Hit Play]

Hit play, and wathc your physics play! You can also edit the positioning of the ball for different results, to do so,slect your ball then, in the left hand side tool bar, click the cone with arrows coming out of it. You'll then notice your ball has 3 arrows, hold right click on one of them, and move your mouse accordingly to the axis the arrow is pointing on to move the ball. For example, if I wanted to move the ball up I simply hold right click on the arrow pointing up (Y-axis) and move your mouse up or down.

Congratulations, you've succesfuly added Physics to Maya!

Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•

All times are GMT -8. The time now is 08:40 AM.

Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY