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
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