ncloth keyframe to simulation

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 04 April 2012   #1
ncloth keyframe to simulation

I tried searching but couldn't find the right terminology so hopefully you'll understand what i'm trying to do. Is it possible to manually animate an ncloth object via keyframes, then when it gets to a certain frame, have the ncloth simulation take over? I want to animate a ball being kicked into a net, but i want to be able to control how the ball is kicked via keyframes, then have the interaction with the net done by ncloth. Let me know if that needs more clarification, thanks!
 
Old 04 April 2012   #2
yes rig your original geometry like you would any piece of rigged geometry...ie bones or a lattice or something. create cloth and turn input mesh attract to 1 (1.5) on your cloth shape. Animate the original piece of geo, then when you want the sim to take over keyframe input mesh attract to 0. If you want some of it to behave like its stuck and some to not then you need to make a texture that drives input mesh attract.

good luck
__________________
Showreel
RnD
 
Old 04 April 2012   #3
thanks mandark! it works! however, is there any way to have the inertia from the keyframed movement carry through to the ncloth simulation? Right now when I key the input attract mesh down to 0, the object just drops instantly from the nucleus gravity instead of continuing in the direction it was moving and slowly dropping/losing speed.
 
Old 04 April 2012   #4
Im sure there is a way but right now my mind isnt working that great friday after a couple of really long weeks ive pretty much already checked out into weekend mode.

Is there a reason why your not using rigid bodies. they are not great in maya but for somethin g like this they will work easily. There are also a bunch of other open source solutions for this like bullet which is now part of maya. Try using a more traditional rigid approach maybe.

good luck
__________________
Showreel
RnD
 
Old 04 April 2012   #5
do a search here, its already been discussed... use a constraint and key it disabled when you want ncloth to take over.
__________________

.

Reel - 3DInk.com
Filmography -IMDB
R&D - VIMEO

*please read- cyanbsl.blogspot.com/*
 
Old 04 April 2012   #6
thats the right solution as always from HowardM, seems obvious now. cheers
__________________
Showreel
RnD
 
Old 04 April 2012   #7
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.
 
Thread Closed share thread



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 03:16 PM.


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