Light on a rope? Created 18 years ago2005-07-04 08:54:25 UTC by Snake-Eyes Snake-Eyes

Created 18 years ago2005-07-04 08:54:25 UTC by Snake-Eyes Snake-Eyes

Posted 18 years ago2005-07-04 08:54:25 UTC Post #118522
Hi all,

Having trouble attaching a lamp model to a rope.

I can make a rope with a move_rope (rope_1) with Next Keyframe = rope_2 at the ceiling and a keyframe_rope (rope_2) below it. That part is OK.

The problem I have is with my phys_pulleyconstraint and the model (lamp_1). The phys_pulleyconstraint has entity 1 set to rope_2 and entity 1 to lamp_1 but the model that I'm using always turns upside down and does not seem to be attached to the rope when I shoot it. The model is models/props_c17/lamp_standard_off01.mdl

Any ideas on how I can fix this?
Posted 18 years ago2005-07-04 10:40:56 UTC Post #118534
Posted 18 years ago2005-07-04 18:49:12 UTC Post #118657
Thanks ZeG,

I'll try that out tomorrow night. I'm at work now and won't get a chance until then, but I'll let you know how it goes.
Posted 18 years ago2005-07-04 19:11:26 UTC Post #118659
The lamp model they use in that tutorial doesn't work for me.. :(
Wonder why.. :confused:
Madcow MadcowSpy zappin my udder
Posted 18 years ago2005-07-04 21:40:17 UTC Post #118684
What result did you get with that model? Was it upside down like mine, not attach or just not show in game?
Posted 18 years ago2005-07-06 05:56:38 UTC Post #119010
No joy for me with that tut, however I rebuilt it using the phys_pulleyconstrain and now the rop is attached to the top of the model, just the model itself is upside down still. Is there an attach point I'm missing or something?
Posted 18 years ago2005-07-06 12:51:01 UTC Post #119124
My guess would be that the forces of the constraints are forcing it to twist around. Try a different model?
RabidMonkey RabidMonkeymapmapmapfapmap
Posted 18 years ago2005-07-19 09:17:32 UTC Post #122015
Tried again with the phys_ballsocket and got it to work. This time the keyframe_rope was further in the prop_physics model and it seemed to attach at the right point. Also noticed the advantage of the ballsocket is that when shot, it doesn't go through the rook like the pulleyconstraint.

Thanks again guys, much appreciated. :biggrin:
You must be logged in to post a response.