PDA

View Full Version : OMG HELP ME PLEASE! im a newb/student trying to collapse a building.


depleteD
09-23-2005, 03:22 AM
I asked these questions in the dynamics forum but I didnt get anyhelp.

I am working on simulateing a building collapseing and I want to be able to do it procedurally.

I am a student and I have only basic xp with MEL.

I worte an expression to trigger an activate a rb based of contact data with no results.

if (rigidBody1.contactCount < 0)

rigidBody2.active = 0;
else

rigidBody2.active = 1;

Also i would liek a expression or script that gets the angle of a spring constraint to activate a rigid body.

sping.constrain on
hinge.constrain on
rigidBodyX.active = 0
when angle of the hinge is over 25 degrees,
rigidbodyX.active = 1
spring.constrain off
hinge constrain off


I would really appreciate help with this.

CGTalk Moderation
09-23-2005, 03:22 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.