Which brings me to the question isn't forward wrong in MatrixAway3D class?

As in, you should be able to do
pos.x = camera.position.x + camera.transform.forward.x*10;
pos.y = camera.position.y + camera.transform.forward.y*10;
pos.z = camera.position.z + camera.transform.forward.z*10;

but that doesn't work.

Change MatrixAway3D forward to

public function get forward():Number3D
{
    _forward.x = sxz //szx;
    _forward.y = syz  //szy;
    _forward.z = szz;
    return _forward;
}

Above works.

Reply via email to