Ropes....Cables

trebhome

Newbie
Joined
Nov 19, 2004
Messages
158
Reaction score
0
Ok I need to know how to make a light that hangs from a ceiling by a rope/chain. I make it then when i run the game to check it the light just falls to the ground and there is no rope. What do I have to tie things to and how???? If someone had an example it would be great.

BTW... Im trying to make the lights look like they do in prodigy, the ones that hang down and you can shoot them and they like swing around and stuff.
 
The visual side of a rope is produced by a series of keyframe_rope. There's a Valve tutorial on this (use the link under the Hammer help menu). The part which actually keeps your light in place is a phys_lengthconstraint.

You'll want to make sure that the phys_lengthconstraint attaches to the right place on the model. You can do this using a info_constraint_anchor.

To get your rope to follow the light's movement, make the light model the parent of the dangling end.
 
I just dont understand. please tell me exactly what i need to do. which entities, and what they are connected to and how. I can't make a rope dangle from a ceiling with an object connected to it. DAMN! If there was a way you could send an example file it would be AWSOME!
 
Back
Top