phys_pulleyconstraint

Some0ne

Newbie
Joined
Dec 14, 2004
Messages
296
Reaction score
0
i have a bridge (physbox) which is suspended by 4 ropes which are connected to poles. the poles are physboxes which you can move around and the rope is parented to it. but as of now the rope just gets longer and i want the rope length to be constrained. so i worked out that i will need a phys_pulleyconstraint (i think).
i tested this out by making 2 physboxes with a rope going between them and the ropes are parented to the physboxes. i applied a pulleyconstraint and put it between the 2 physboxes. this works exactly as i want; when a force is applied to either physbox it moves both physboxes like thy are connected by the rope.
now i tried to use this technique on the pole and the rope but i cant get it to work. i also have a lengthconstraint on the bridge, which could be a problem or it could be something to do with the positioning of the pulleyconstraint.
i dont know much about this entity so could anyone help me out here?
which entities should i have it applied to? obviously the pole but should the other be the rope or the bridge?

thanks
 
ok you didnt quite understand what i ment (my fault i assume).
iv done that part with suspending the bridge from the ropes.
what im trying to do is make a constraint between the bridge and a pole which will keep its distance the same. so, because the rope is parented to the pole, the rope wont just get longer.
iv tested the pullyconstraint out on a test object and im pretty sure its exactly what i need. only problem is i cant get it to work on my bridge, and that is what my question was.

how should i go about using this entity with the objects described above?


thanks again
 
No no, what you need is the length constraint entity so that the distance between the rope and the pole doesn't get any longer than what you defined. That's what you want to do correct? Make it so the bridge can sway from side to side without getting further from the pole?

Use a phys_lengthconstraint for that.
 
no iv done tht. u see, if i am correct a lengthconstraint only constrains one length of an object. it couldnt constrain it from every direction, could it?
what i am TRYING to do is make it so that the pole (which you can pick up - its a physbox) doesnt keep moving the parented rope further away and that it is constrained to the bridge.

if im not making any sense then just make 2 physboxes with rope entites parented to them, then add a pulleyconstraint and apply it to both physboxes. if u do that and test it u will understand what i am trying to do.

but there may not be any point in this post since no1 seems to be advanced enough to answer my question

are there not any elite mappers out there who would know?
 
You can use 2 length constraints on each end of the rope and assign one to the bridge and one to the poles...

I don't think you're explaining what you want to do very well.

A pulley constraint makes absolutely no sense to use because what you'rem aking isn't a pulley system, you want the length of the rope to stay the same at all times, pulley constraints are used so that the length CAN change.
 
Back
Top