# SimplyMaya Forums

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

 Register FAQ Members List Calendar Mark Forums Read

 23-08-2005, 05:56 PM #1 Thelfi Registered User   Join Date: Aug 2005 Posts: 1 Thanks: 0 Thanked 0 Times in 0 Posts pathanimation Hello, we want to animate a scene where a snowboard is boarding down a hill. Our problem is that we want to use a gravityfield to get realistic motions like little bounces etc. and we also want to influence the direction of the the movements. Should we use a kind of path to do that? Or is there any other possibility? Thanks Thelfi
 26-08-2005, 04:12 AM #2 haynesy Registered User   Join Date: Dec 2004 Location: Melbourne, Australia Posts: 36 Thanks: 0 Thanked 0 Times in 0 Posts I'm not too sure of the specifics in how you do this but what you are requiring is an influence object of which you can adjust the relative position using an expression or something. I am guessing you're always going to want the -Y direction being influenced by the gravityfield you might then want to make and expression like: snowBoarder.tx = influenceObj.tx snowBoarder.tz = influenceObj.tz for an absolute positioning or for a relative positioning you would probably use: snowBoarder.tx = snowBoarder.tx + (influenceObj.tx * 0.25) snowBoarder.tz = snowBoarder.tz + (influenceObj.tz * 0.25) that will add a 25 percent of the influence objects distance you could then constrain the influence object to a curve and the Y axis of the influence object to the snowBoarder.ty this way as the gravity pulls the snowboarder down the influence object get's pulled down the curve the x and z axis of the curve constrains the x z axis of the influence object which influences the snowboarders position either relative or absolute depending on your needs.
 26-08-2005, 11:58 AM #3 mtmckinley The Maya Mountain     Join Date: Aug 2002 Location: Seattle, WA Posts: 8,245 Thanks: 1 Thanked 25 Times in 25 Posts I imagine you could probably group your character and then attach the group to the path. Then you could do whatever influences to the character itself, and it should still follow the path as a whole. __________________ -Mike www.mtmckinley.net The Maya Toolbelt

 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

## \$34

Month-to-month billing
 \$34/month Unlimited access to all videos Project files to download Easy to cancel at anytime

## \$87

Billing every 3 months
 \$29/month Unlimited access to all videos Project files to download Easy to cancel at anytime Save \$5 per month or \$15 in total compared to monthly billing with this package.

## \$288

Billing every 12 months
 \$24/month Unlimited access to all videos Project files to download Easy to cancel at anytime Save \$10 per month or \$120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.