Jump to content

i need equation


chem-art

Recommended Posts

I have problem with getting normal coordinates offset. I have cube1 and cube2. cube1 position is 10,10,10 and cube2 position is 10,9,10. Cube 2 offset refers to local coordinate system of cube1. If rotation of cube1 is 0,0,0 i get position offset 0,-1,0. But if cube1 rotation is 45,0,0 i get offset 0,-0.7071,+0.7071. The problem is that offsets dont use normal coordinate system, they use local coordiante system of cube1. How do i get offsets on normal coordinate system? :confused:

Link to comment
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
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.