View Full Version : particle position Q
shawnkawa 01-31-2003, 02:14 AM I need to find out the world Position for a particle, not its translate just the position ( vector) of the particle itself. And maybe a script to out put the info on a per frame basis. I any could help that would be great...
reply here or email me at shawn_kawa@hotmail.com
Thanks
Shawn Kawa
www.digidust.net (http://www.digidust.net)
|
|
alexx
01-31-2003, 08:20 AM
right click on the per particle attribute "position" in the attribute editor and enter:
print (particleShape1.position);
(presumes that your particle system is called particleShape1)
if you want the position of a specific particle:
if (particleShape1.particleId == xx)
{
print (particleShape1.position);
}
where xx is the number of the wanted particle
cheers
alexx
shawnkawa
01-31-2003, 07:17 PM
Thanks
CGTalk Moderation
01-14-2006, 07:00 AM
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-2012, Jelsoft Enterprises Ltd.