CGTalk > Techniques > Character Rigging
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
 
Thread Tools Search this Thread Display Modes
Old 04-30-2006, 12:54 PM   #1
Dark Soldier
Frequenter
Nothing
United Kingdom
 
Join Date: Apr 2004
Posts: 171
animate/rig oval shaped object rolling?

hi


what do u tnink is the best way to animate/rig something oval shaped rolling.

kinda stuck, anything help appricated
 
Old 04-30-2006, 01:30 PM   #2
valoukh
Frequenter
 
valoukh's Avatar
Stevie K
United Kingdom
 
Join Date: Jun 2005
Posts: 184
If you mean what I think you mean, you could try using Reactor. You know how weebles move? If you model a hollow object, make it into a rigid body then put a heavy ball inside it, the ball will weigh it down and cause it to move in this way.

It can, however, be very unpredictable and takes a lot of work to get it right!

-valoukh.
__________________
My online portfolio: stevenkay.free.fr
 
Old 05-01-2006, 12:16 AM   #3
eek
Fixer
 
eek's Avatar
portfolio
Charles Looker
Snr Technical Artist
Electronic Arts
Vancouver, Canada
 
Join Date: Feb 2002
Posts: 4,221
Hmm lots of ways, you could so some heavy sine algorithms to compensate the z axis. You could do a frame track check to see if its gone through the floor and raise it - this wont deal with the x position though as you may get sliding.Also if your going up a slop youd have to do a normal check, maybe ray intersect?, the other way is just hand animating the z position to compensate.

eek
__________________
Disclaimer: My opinions are not those of my employer.


 
Old 05-01-2006, 09:32 AM   #4
Dark Soldier
Frequenter
Nothing
United Kingdom
 
Join Date: Apr 2004
Posts: 171
hi eek

thanks for suggestions. was hoping there would be some kinda script or something. tried a load of stuff with some paths and other random things. if i get any where with i tell you how i did.

thanks again
 
Old 05-01-2006, 01:37 PM   #5
Goon
New Member
 
Goon's Avatar
portfolio
Ezra Schwepker
Seattle, USA
 
Join Date: Jul 2002
Posts: 2,286
Send a message via AIM to Goon
Maya solution: this is a rough, rough hack, but works for me, and can take into account a non-uniform surface.

Have a ground control which will set the surface upon which your object will roll.

Place locators on the surface along the edge which will be rolled on (or simply on the surface itself, if it will be rotating along more than an edge)

Parent locators under ground control.

Create rolling control.

Parent under ground control.

Parent constrain locators to rolling control.

Set up a nodal network with the Condition node. Basically its a pyramid which sorts through all the locators that you've made, and finds the one with the greatest -y value (aka, the locator is the lowest locator beneath the ground plane). It's essentially a comparison between two locators, find lowest y, then
the next level is comparing the resulting value with a similar resulting value from another condition node. Continue until there is one condition node, giving you the lowest locator.

Group the geometry twice. Feed the result from the condition node into the translate Y of the top group. Feed the translation and rotation of the rolling control into the second. Parent the top group under the ground control.

So in the end, you have a system which does a comparison between where the shape would be, and offsets the object accordingly, to prevent penetration of the groundplane.

More locators = more accurate & slower.
 
Old 05-01-2006, 01:37 PM   #6
CGTalk Moderation
Lord of the posts
CGTalk Forum Leader
 
Join Date: Sep 2003
Posts: 1,066,480
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 12:25 AM.


Powered by vBulletin
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.