Sign in to follow this  

stuck again (cross product)

This topic is 4358 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! Let's say I have the following equation to be fulfilled: Vector(collison normal) X (MF*Vector(a)+LF*Vector(b)+TF*Vector(c)) = Vector(0) Now, I know : Vector(collision normal) Vector(a) Vector(b) Vector(c) MF So I'm looking for LF and TF. That makes three equations (cross product) for two variables. Here's what I did: -I replaced the ZERO on the right side of the second equation with the left side of the third equation -solved that new equation (2) for LF and set that LF into the first equation -out comes TF -TF into (2) gives me LF (done!) SOMETHING WRONG ??? (don't start to outwright things! They tend to explode!)

Share this post


Link to post
Share on other sites

Ncoll x (MF * a + LF * b + TF * c) = 0
MF * (Ncoll X a) + LF * (Ncoll x b) + TF * (Ncoll x c) = 0

LF * (Ncoll x b) = MF * (a x Ncoll) + TF * (c x Ncoll)

LF * [(Ncoll x b) . (Ncoll x b)] = [MF * (a x Ncoll) + TF * (c x Ncoll)] . (Ncoll x b)

LF = [MF * (a x Ncoll) + TF * (c x Ncoll)] . (Ncoll x b) / [(Ncoll x b) . (Ncoll x b)]

LF = [alpha_vector + TF * theta_vector] . [beta_vector]

alpha_vector = MF * (a x Ncoll)
theta_vector = (c x Ncoll)
beta_vector = (Ncoll x b) / [(Ncoll x b) . (Ncoll x b)]








Share this post


Link to post
Share on other sites
gee! half of those vector operations you just did, I haven't even seen yet.

so I guess:

LF = [alpha_vector + TF * theta_vector] dot [beta_vector]

gives me the one equation I wanted. BUT where do I have to put LF into in order to get TF? What is my second equation?

thanx, man! I didn't expect anyone to help me that far :)

Share this post


Link to post
Share on other sites

This topic is 4358 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.

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