SimplyMaya Forums

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


SM Forums / Maya Questions / Dynamics & Special Effects / Picking up an nCloth

Dynamics & Special Effects Maya Particles, nDynamics, Fluids, Rigid Bodies & General VFX

Join the conversation. Reply to post
 
Thread Tools
13-07-2011, 01:54 PM   #1
Calvin
Registered User
 
Join Date: Nov 2002
Location: Philippines
Posts: 135
Picking up an nCloth
Hello all,

I wanted to ask what's the best way to pick up an nCloth object. I only have access to Maya 2008 and 2009. Say for example a character lifting a skirt slightly to avoid brushing against mud or something of the sort. Any help would be appreciated.

Another thing I'm trying to do is have a piece of cloth fall and then be picked up in the same shot. My problem is that if I use a constraint, it tends to constrain back to its original position before it fell to the ground. Am I doing something wrong or is there a better way?

Thanks,



Calvin
  Reply with quote
13-07-2011, 04:42 PM   #2
daverave
The thin red line
 
daverave's Avatar
 
Join Date: Aug 2009
Location: England
Posts: 4,472
I think this might help you its a way of perenting some thing to a ncloth mesh that should allow you to pick it up I think see link below for mel script............dave

http://area.autodesk.com/blogs/dunca...surface_script
__________________


Avatar Challenge Winner 2010
  Reply with quote
13-07-2011, 07:24 PM   #3
honestdom
The Nurb Herd
 
honestdom's Avatar
 
Join Date: Oct 2007
Location: London
Posts: 2,381
transform constraint animated or parented to something else should work without using some other script.
  Reply with quote
13-07-2011, 07:52 PM   #4
daverave
The thin red line
 
daverave's Avatar
 
Join Date: Aug 2009
Location: England
Posts: 4,472
Quote:
transform constraint animated or parented to something else should work without using some other script.
Have you tried perenting some thing to ncloth.........dave
__________________


Avatar Challenge Winner 2010
  Reply with quote
13-07-2011, 07:57 PM   #5
honestdom
The Nurb Herd
 
honestdom's Avatar
 
Join Date: Oct 2007
Location: London
Posts: 2,381
well i would always parent whatever it is to the locator created when you make the constraint, so i guess no, i've never tried parenting something to ncloth.
  Reply with quote
13-07-2011, 08:01 PM   #6
daverave
The thin red line
 
daverave's Avatar
 
Join Date: Aug 2009
Location: England
Posts: 4,472
Im using maya 2009 and in that you need to use a hair folical for perenting why I dont know..........dave

Edit:I found that out using ncloth to make a animated tank tread
__________________


Avatar Challenge Winner 2010

Last edited by daverave; 13-07-2011 at 08:11 PM.
  Reply with quote
14-07-2011, 02:43 PM   #7
Calvin
Registered User
 
Join Date: Nov 2002
Location: Philippines
Posts: 135
Hey all, thanks for the replies. It seems there was an easy solution after all. My problem with the constraints was that the constrained points on the mesh would snap back to its position at frame 1 whenever I used them. My mistake was animating the strength over time. It turns out that animating the constraint from disabled to enabled works the way I want it. The springs are created on the frame it turns out so it doesn't snap back to its position at frame 1.
  Reply with quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help... PC freezes during ncloth cache and/or ncloth timeline playback luciferr Dynamics & Special Effects 5 01-08-2017 08:21 PM
Resizing/rescaling ncloth with character to fit scene luciferr Dynamics & Special Effects 2 10-11-2016 07:59 AM
ncloth shader problem sungodd Maya Basics & Newbie Lounge 3 31-01-2014 10:07 AM
nCloth on Bind skin GeorgiStamenov Maya Basics & Newbie Lounge 2 20-12-2013 11:36 PM
PROBLEM WITH NCLOTH Bounce_X Maya Basics & Newbie Lounge 0 16-07-2009 09:29 AM