Jump to content


Sign in to follow this  
andykao

Clamp Constraint Surface Help

Recommended Posts

i'm trying to prevent to objects from touching each other.

best solution i could find is to use a clamp constraint and set it to surface - things work fine if the objects have a regular shape (square, sphere, etc) but if i have an irregular object like a human the constraint tag works but the distance is calculated from the surface of the target to the center of the my human character and not to the surface of it.

 

how can i create a surface to surface clamp constraint?

 

i've attached a demo file, you can see the arms of the human go though the cylinder (and ideally i would like to have the distance set to just 1 cm or less).

 

any help would be appreciated

problem.c4d

Share this post


Link to post
Share on other sites

Hey

 

I tried this possible solution.

Basicly it's the same you have but with a smaller object. If the object is bigger, you'll need to change the distance in the clamp.

 

Hope it helped

problem.c4d

Share this post


Link to post
Share on other sites
  • Topic Author
  • it doesn't solve the problem, the cylinder can still go though the model - and with the settings you have just touching the model is not possible...

    Share this post


    Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    Sign in to follow this  

    • Recently Browsing   0 members

      No registered users viewing this page.

    ×