Jump to content
Sign in to follow this  
tuangD

object constraint!

Recommended Posts

I came across the conversation in "new poll" in General Chat...

about the object constraint,

can we limit one object transition say tx ty tz, so it will not go inside another object?

just curious?? ;)

cheers

-tuang

Share this post


Link to post
Share on other sites

In short, not really.

If you want to do simple collision detection, you could always do the hacky thing by testing the intersection of the bounding boxes of your object. If you want true object collision, then I would look into using RBD in some way.

Share this post


Link to post
Share on other sites

I'm thinking of that hacky thing too.

Can you give me a clue how can I do the bounding boxes intersection?

Through CHOPs or SOPs? <_<

thanks

-tuang

Share this post


Link to post
Share on other sites

if it is a constraint at the object level use the BlendOP.

ill named, but it will do the job for you.

depending on how/where you a parent the object with the keep position while parent option, you will get the desired results by toggling off all the rotations and scales for the one parent you want to follow.

the BlendOp if used correctly will give all the constraints you want. one pt. two pt. three pt. rotational.

an object's lookat should pass for the up-vector constraint in most cases.

hope that helps.

-k

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  

×