Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
particles, goals, and scripting

particles, goals, and scripting

2005-05-31       - By IOMEDIA.SoftXSI

 Back
I'm trying to create a scripted event for particles so that a goal
object is only activated as the particles get near it.

I don't know the syntax, but the logic is:



particleToGoalDistance = particlePosition - goal Position

if (particleToGoalDistance >= 50)
{
         goalWeight = 100
}
else
{
       goalWeight = 0
}

Or, if it makes it easier, I may switch this from distance to simply age

So, if the age of the particle is larger than or equal to a certain
amount, then make the goal active (basically, I'm assuming that age and
position are related and because I don't need an exact distance
calculation, the age may do)

Does anyone know the syntax for this? It would be much appreciated.
Thanks.


---
Unsubscribe? Mail Majordomo@(protected) with the following text in body:
unsubscribe xsi