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?
 
set has restrictions on membership?

set has restrictions on membership?

2003-11-28       - By garyc

 Back
Reply:     1     2     3  

Hi, I have setup a script at work that automatically links a number of [active
rigidBody] objects to various forces depending on their velocity, which is all
working fine. Now I thought that it would be a good idea if for illustrative
purposes that I changed the shader on each rigidBody object depending on what
they are linked to (i.e. green=gravity, blue=turbulence etc.)... my problem is
that I am running the checks on the objects as an expression on a frame by
frame basis, therefore each time an objects changes whats its linked to (and a
change the shader) I am getting the following warning message, which is
starting to slow things down as it spools up endlessly in the script editor.
sets -e -forceElement phong1SG;
// Warning: Cannot add the following items to the set since the set has
restrictions on membership: rigidBody2 //
// Result: phong1SG //

Does anyone know how (a) I can assign a new shader to my rigidBody objects
without getting this message (funnily enough you don`t get the warning if you
drag and drop) or (b) some what that I can surpess the warning.

cheers in advance gary.
 ---
 Gary Coulter
 Pixel Engineering . Fuzzygoat Ltd.
 Shepperton Film Studios, UK.
 www.fuzzygoat.com



-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
List-help: <mailto:listar@(protected)?Subject=help>
List-archive: <http://www.highend3d.com/maya/devarchive/>