SimplyMaya Forums

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


SM Forums / Lounges / Maya Basics & Newbie Lounge / Maya skateboard rig questions

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
02-03-2011, 01:49 AM   #1
CortesDiddy
Registered User
 
Join Date: Mar 2011
Posts: 3
Maya skateboard rig questions
sup folks. I'm working on a freelance project that involves lots of animation, and I'm making a mini skateboard rig for the character. This is my first time rigging anything in Maya and I keep stumbling on lots of things.

The skateboard is basically simple geometry with the rotation of the wheels driven by an expression. when you move the skateboard geo, the wheels rotate. I am having trouble making the rig a bit more sophisticated, however.

When I make a control curve for the whole skateboard, the skateboard geo reappears in another location after I parent the geo to the curve and when I move the curve. Freezing transforms only gives me a message saying the skateboard object is a child of the world. What should I be doing to ensure once I make the control curve, the geo stays put?

Also, when I place the character on the skateboard, should I parent the global character rig control to the skateboard rig control or is there a better way?


I want to separate the trucks of the skateboard and make it so they squash and stretch as the skateboard deck banks on the x axis. I can separate the trucks with a script but am not sure how to go about rigging a bank for the board. This isn't as important as my first question, though, and I'm sure I'll figure it out.
  Reply with quote
02-03-2011, 08:31 AM   #2
chilledoutredhead
rm3d
 
chilledoutredhead's Avatar
 
Join Date: May 2008
Location: northern ireland
Posts: 184
hey sorry bud im not here to help, just ask where is a good place to find out about the wheel expression you have (or any help on the subject), as in you said the wheels rotate when the geometry moves? thanks. hopefully someone can help with your problems
__________________
the more I Think I know about Maya the less I seem to know about it.

check me out www.rm3d.co.uk
  Reply with quote
03-03-2011, 01:17 AM   #3
CortesDiddy
Registered User
 
Join Date: Mar 2011
Posts: 3
Hey there chilledoutredhead,

The expression I used can be found here: http://student.vfs.com/~m07goosh/Tut...cart/index.htm
  Reply with quote
03-03-2011, 11:01 AM   #4
LauriePriest
Moderator
 
LauriePriest's Avatar
 
Join Date: May 2003
Location: London
Posts: 1,001
Hey dude,
ambitious thinking with this one but potentially making a mountain out of a mole hill. Id suggest that the wheel rotation is more trouble than its worth considring how small scateboard wheels are.

If your shots are short you could easily animate the rotation by hand to get better results, this is because the script your using is only evaluating the translate x which means it would only be accurate if the skateboard is travelling in the translate X of its parents space (translating something in local space with the move tool on the is not the same as translating in X).
To do this properly you would need a script that evaluates the skateboards position on the previous frame and grab the length of the vector between to two to drive the rotation.

This is probably a bit over the top so I'd animate by hand, which means you can make it look cool if one set of wheels is in the air (spin spin spin!) which is trickier to set up if you rotations are locked up by an expression.

Also on this note you probably wont see the wheels spinning unless the camera is REALLY low, close up and the wheels would have to be quite dirty to notice.

For the parenting issue it sounds like the geo is allready constrained to something or it has keyframes on it. If its constrained it will move back to its constrained position every frame. If it was keyframed before you tried to parent it to your rig it will make a new keyframe on that frame (if auto key is on) and look correct but the rest of the animation will stay the same, so if you change frame it will pop out of position.

If this is the case you can either delete the constraint / animation and then parent it (also unlock any translation / rotation channels). Or if you want to keep any animation on it ( i guess not) you would have to bake the skateboard into the animation space of your curve. If you want to know how to do this just ask and ill write another reply.

With the banking, your hierachy should be something like this :
root curve> main pos / rot curve > wheel ctrl curve for each set of wheels, the pivot would be at the point where the truck joins the board + main board ctr (animate the wheels seperately to the wheels... banking) > individual wheel controls)

Id Imagine for your main control it might be easier to have an IK system to get a more convincing control of the whole board. To do this just make a joint that goes from back to front of the board, make an IK chain and parent the joint to your main control and another curve under to be the parent of the IK handle to control the direction.

Hierachy is v important with rigging, as is an understanding of rotation orders and transformation in order to get zeroed out translates and rotates for each controler.

I know this is a bit much, its worth reading up on the topics to solve the problems.

With the deformations im not sure what your asking for, the main deformations would be in the bend of the board itself which could be achieved using simple deformers, clusters, blend shapes etc.

If your trying to make a toony board you will need to look at topics like volume retention, joint expressions etc.

Hope this kinda helps.
__________________
FX supervisor - double negative
  Reply with quote
04-03-2011, 08:42 PM   #5
CortesDiddy
Registered User
 
Join Date: Mar 2011
Posts: 3
Yes, this helps tremendously. I'm still pretty new to Maya, coming from max where the rigging tools seemed more... limited, lol (they aren't really, just less organized than Maya's). So your post is a little daunting and I'm scratching my head, but with anything in Maya, just concentrate on the general idea and the big picture starts to string itself together (literally).

I like how free the possibilities for rigging stuff are so far. I'll study your post and see where it takes me. Thanks!
  Reply with quote
05-03-2011, 12:30 AM   #6
chilledoutredhead
rm3d
 
chilledoutredhead's Avatar
 
Join Date: May 2008
Location: northern ireland
Posts: 184
hey thanks CortesDiddy for the link, another step in learning more and more about maya
__________________
the more I Think I know about Maya the less I seem to know about it.

check me out www.rm3d.co.uk
  Reply with quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Reading File... HELP ME PLEASE roryfollansbee Challenge Forum 1 16-04-2016 09:00 AM
Maya Not Loading on Virtual Machine drgraphics Maya Technical Issues 2 31-01-2010 09:33 PM
trouble starting maya 2009 Typh Maya Technical Issues 2 03-01-2010 08:33 AM
maya rig prabhakaran Animation 2 30-03-2006 12:37 AM
Daily DUMBO Maya questions thread_____ slickrenderer Maya Basics & Newbie Lounge 29 19-07-2003 07:08 PM