SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.


SM Forums / Lounges / Maya Basics & Newbie Lounge / Dynamics, make a sphere move inside a bowle.

Maya Basics & Newbie Lounge Please post in this section ONLY if your question doesn't fit in anywhere else on the forum, or if you're not sure which section it's relevant to. We also have Free streaming trial available.

Join the conversation. Reply to post
 
Thread Tools
23-01-2007, 07:51 AM   #1
Eqadore
Registered User
 
Join Date: Jan 2007
Posts: 2
Dynamics, make a sphere move inside a bowle.
Hei,

i am working with dynamics to make a roulette table. And I would like to get it to start moving on the top of my bowl and travel in circles in to the bottom. I have tried to link it up with a active and a passive rig. and start it by using initial velocity but it just makes its way to the top ov the bowl and from there out of it. of couse have i added gravety, but it dosent seem to mind it..

I need som help!!

PS. check out Casino movie that will be posted in march.


The yellow mark is here I want it to be, but ist heading towards the red one...
Attached Thumbnails
Click image for larger version

Name:	out of the bowl.jpg
Views:	72
Size:	15.8 KB
ID:	32484  
  Reply with quote
23-01-2007, 10:25 AM   #2
marlonjohn
Subscriber
 
Join Date: Feb 2006
Posts: 1,937
hello there, could you please batch render or playblast it so i could see whats happening? are you saying the ball rolls fine but then makes it way up again and jumps out?

[EDIT: if it keeps jumping out, have you though about decreasing the velocity spin?]

marlon

Last edited by marlonjohn; 23-01-2007 at 10:32 AM.
  Reply with quote
23-01-2007, 11:10 AM   #3
enhzflep
Subscriber
 
enhzflep's Avatar
 
Join Date: Oct 2006
Location: Melbourne
Posts: 313
sorry to do this to you Marlon, it's been killing me for the past 45 mins now. But I've got a solution worked out, so I'll just run you through what I did, step by step, verbatim.

Note, it may have something to do with scale, but I can't be sure without the file that's behaving badly. At the start of my quest, my ball was behaving in just the same way. Not sure which of these steps overcame it, but here's all of em.

1) Create poly sphere, radius 13.5, 20 segments
2) set ScaleY to 0.333
3) delete faces on top half
4) create torus, radius 14, 20 segments
5) delete faces on bottom half
6) reverse normals on the half ball
7) combine both pieces
8) select all verts then merge vertices, 20 dissapear
9) create poly sphere, translate <12.1, 1.7, 4.7>
10) select bowl, make passive rigid body
11) select ball, make active rigid body
12) with ball still selected, add gravity
13) set ball initial velocity Z = -5
14) select ball and bowl, zero Bounciness, Static & Dynamic friction
15) set max frames to 500
16) hit play

Here's the scene file, done in 7.0 - if using version below that, use the .ma file - just edit the first couple of lines with notepad and set all references to 7.0 to _you maya version_ number.

Then it's just a matter of adjusting the friction to suit the rate at which you'd like the ball to slow down.

Simon
Attached Files
File Type: zip casino.zip (15.4 KB, 29 views)
  Reply with quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamics, make a sphere move inside a bowle. Eqadore Animation 5 02-02-2007 01:06 PM
sphere pushing through tube Hubbard Maya Basics & Newbie Lounge 2 15-12-2005 10:29 PM
Maya primitive sphere problem/bug? (images) rweiss Maya Basics & Newbie Lounge 1 23-11-2005 05:21 PM
my computer can't make nurbs. vodou Maya Basics & Newbie Lounge 1 27-09-2004 10:41 PM