Direction is the vector of two points in a direct … what do I know… I'm a developer/programmer
The problem is that I've never been great at higher math.
The issue is that I have a model facing the z axis… what I want to know is:
Does anyone have a simple way that they determine direction and maintain that Vector?
I am great at spatial orientation and patterns, but when it comes to figuring out the math behind it, I'm kind of slow (you're right sfera I'm slow:))
Any help would be greatly appreciated. I'm re-reviewing the flagrush tutorials to see if anything jumps out at me.
for example:
Vector3f zVec = new Vector3f(0,0,1);
…
spatial.getLocalRotation().multLocal(zVec);
zVec is now facing like the spatial