shibumenon

02-17-2005, 04:43 PM

The Problem:

suppose i have 3 point helpers A,B and C (which determines a plane in 3d space), and I animate all 3 of them randomly in all axes, x,y and z.

Now I create a plane 'P' (or any 2d geometry).

How can I keep this plane 'P' always oriented exactly to the plane determined by the points A, B and C?

I donot want to go into vertex or any subobject mode... need to solve it with a rotation/position controller or script.

What I tried till now :

I have tried using a lookat constraint, using all 3 points as targets, but gives strange results .... maybe I am using the parameters wrongly ...

never got to fully understand the lookAt parameters well ... too confusing.

I have come accross this problem many a times, but never got a foolproof solution ....

has any one in a similar situation come to a solution?

any suggestions welcome

thanks

shibu

suppose i have 3 point helpers A,B and C (which determines a plane in 3d space), and I animate all 3 of them randomly in all axes, x,y and z.

Now I create a plane 'P' (or any 2d geometry).

How can I keep this plane 'P' always oriented exactly to the plane determined by the points A, B and C?

I donot want to go into vertex or any subobject mode... need to solve it with a rotation/position controller or script.

What I tried till now :

I have tried using a lookat constraint, using all 3 points as targets, but gives strange results .... maybe I am using the parameters wrongly ...

never got to fully understand the lookAt parameters well ... too confusing.

I have come accross this problem many a times, but never got a foolproof solution ....

has any one in a similar situation come to a solution?

any suggestions welcome

thanks

shibu