Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Dynamics & Special Effects (https://simplymaya.com/forum/forumdisplay.php?f=33)
-   -   Script to randomize a property. (https://simplymaya.com/forum/showthread.php?t=3712)

grunze 03-02-2003 06:01 AM

Script to randomize a property.
 
Hi,
does anyone know a script that can randomize a given property, i.e. the initial spin of a rigid body?

Emo 03-02-2003 06:18 AM

I dont know about ridid bodies but a while ago I did a tutorial and they used Sprites and in the properties they were using Per Particle Array Attribues to do random things...

so one of the things they did there was give each sprite a random twist... the code was:
Quote:

ParticleShape1.spriteTwistPP = rand(360)
I dont know how this is going to help you though...

-Emo

ragecgi 03-02-2003 06:47 AM

Dude! hehe...

If you look at the very 1st of the 3 threads you made regarding this, I answered that for you with an expression.

PS, For future reference, Dynamics and Special Effects would be the best place for posts like this:)

Here is my answer for ya:

http://forum.simplymaya.com/showthre...&threadid=3707


Good luck!

ragecgi 03-02-2003 06:48 AM

Moving this to Dynamics and Special Effects:)


All times are GMT. The time now is 06:22 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018