I am testing this cool new feature. 2 things :
- a strange behaviour :
Admitting : [code]function MyFXField1Listener(event)
local Particle = event.Particle
local FXField = event.FXField
if event.phase == “enter” then print(“PARTICLE ENTERED FIELD '”…FXField.name…"’") end
if event.phase == “leave” then print(“PARTICLE LEFT FIELD '”…FXField.name…"’") end
end
Particles.AddFXListener(“MyField1”, MyFXField1Listener)
function MyFXField2Listener(event)
– nothing here
end
Particles.AddFXListener(“MyField2”, MyFXField2Listener)[/code]
The terminal returns :
"PARTICLE ENTERED FIELD ‘MyField1’
PARTICLE ENTERED FIELD ‘MyField2’ "
- a feature request
In your code sample you giveparticle.scale
modification based on - I presume- common object properties. Would it be possible to modify this particle velocity, or any particle parameters instead (and I don’t wish SetParticleProperty since it modified all particles) ?
[import]uid: 9328 topic_id: 6628 reply_id: 306628[/import]