Jump to content

Random open doors


YOHKOH
 Share

Recommended Posts

select the objects you want to randomize and execute the following.....

 

for o in $ do o.open__degrees = random 0 180

 

(the two parameters after the random command control your min and max swing values so adjust accordingly if you don't want to go all the way open....)

Edited by BrianKitts
Link to comment
Share on other sites

Nice one thanks very much.

 

Ive tried modifying this to open the bifold and sliding doors but no success.

 

I put in "percent" and tried "%" instead of "degrees" but no luck. Can you offer any advice on this, I've never scripted before and am at a loss.

 

Ta

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...