Page 1 of 1

Spaceship movement

Posted: Tue Dec 26, 2006 5:02 pm
by Methuselah
I'm trying to create a freelancer-like movement
This is what I've come up with:
Image

Do you have an idea how to do this?
There are a lot of vectors in it

Posted: Tue Dec 26, 2006 5:58 pm
by arras
I don't know what your question is, but I assume you want ship rotate and then move to point pointed by mouse ...right?

There are some vectors but not so many.
"core::matrix4 class" and "core::vector3d<T>"class will do most of the the math needed. Look at the description ot their functions.