Maya 2020 fundamentals - modelling the real world
Get halfway through a model and find it's an unworkable mess? Can't add edge loops where you need them? Can't subdivide a mesh properly? If any of this sounds familiar check this course out.
# 1 13-11-2005 , 10:35 PM
Registered User
Join Date: Nov 2005
Posts: 2

opacityPP expresion

I want to create a lazer that has its particles die or go invisible when they collide with objects. I thought this expression would work but it obviously didn't. I've never really used expressions before so if anyone could tell me what is wrong with it that would be awsome...

if (eventCount == 0)
opacityPP = <<1>>;

else if (eventCount == 1)
opacityPP = <<0>>;

Error: Connection not made: 'particleShape1.eventCount' -> 'particleShape1.input[0]'. Incompatible multi-attribute parent levels.

in maya help it said that eventCount is "Total number of events that have occurred for all particles of the object."

https://localhost:4449/Maya7.0/en_US/...html?tutorials

# 2 16-11-2005 , 08:11 PM
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