View Full Version : Link Object to Poly
Hey Guys, maybe someone can help me. Im a total script noob ;)
Is it possible to Link/Bind an object to a specific poly of another object via script?
Thanks for any info on that subject.
03-04-2009, 07:28 PM
Get the vertex position / face center position / position on the face using the usual mesh/poly operations (where applicable), move the object in question to that position? Can do that in e.g. a scripted position controller.
I'm sure this topic has come up before, so have a search through the forums and also have a peek at scriptspot.com - might be a prefab script up on there already :)
03-04-2009, 08:03 PM
Wouldn't it be easier to get the face and attach the object via attachment constraint (which you can also do via script as well)?
03-04-2009, 08:50 PM
you'd think :beer:
03-04-2009, 09:36 PM
well, the question would be what is faster, attachment controller, or script controller :thumbsup:
Thanks for your quick answers they helped a lot!
03-05-2009, 09:45 PM
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.
vBulletin v3.0.5, Copyright ©2000-2014, Jelsoft Enterprises Ltd.