Jump to content
  • Advertisement
Sign in to follow this  

weld constraint

This topic is 1017 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi guys,


I have not been able to find much on this topic so I thought I would see if anyone knows the answer.


Given four points, connected by two rods (as in the physical constraint rod, that maintains the distant constraint) we would have the following


Rod r1(r1_start,r1_end)

Rod r2(r2_start,r2_end)


Now, let's say I wish to form a weld constraint, between r1_end, and r2_start, the following should happen.


The welding angle originally formed, should be maintained under all forces and all collisions.


With that said, does anyone know of a good source, hopefully mathematical backed by some code to help me get to the bottom of this problem?







Share this post

Link to post
Share on other sites

Is this 2D or 3D? In 3D things become a bit more difficult since the angular constraints are more involved. If you need this in 2D I recommend at the Box2D weld joint.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!