Digital humans the art of the digital double
Ever wanted to know how digital doubles are created in the movie industry? This course will give you an insight into how it's done.
# 1 22-02-2009 , 06:21 PM
bendingiscool's Avatar
Subscriber
Join Date: Jul 2006
Location: London
Posts: 567

keeping objects on a poly surface

Hey, Basically I'm looking for a way to have objects (polyCylinders in this case) move around but stay on a poly surface (polyPlane), I have expressions on the cylinders to make them randomly move.

Now one technique could possibly be to geometryConstrain the cylinders to the surface, however I have tested this technique and it doesn't give very accurate results.

Can anyone think of another way of going about this, I'm guessing something could be done by getting the normal data from all the faces of the poly surface but I'm not sure what my next step would be.

Many thanks, Chris

# 2 23-02-2009 , 07:51 AM
gster123's Avatar
Moderator
Join Date: May 2005
Location: Manchester Uk
Posts: 6,300
You could use instanced particles and goals with a custom attribute expression to control the offest of the objects using the surface normal.

That should do the job, as you can get them to randomly move over the surface using rand on the goal U and V's.


"No pressure, no diamonds" Thomas Carlyle
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads