Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 645

Vector Transform problem

$
0
0
I was revisiting my old gyro scripts and encountered a problem. Basically, you're supposed to transform the world vector to gyro block vector using a matrix, and I just found out the result is not consistent. Here is the test code I used:
Code:
Screen scr;
RCSA r;
ESC e;

public Program()
{
    scr = new Screen(this);
    r = new RCSA(this);
    e = new ESC(this);
}

public void Main(string argument)
{
    Vector3D vec = new Vector3D();
    scr.clear();
    scr.writeln("Test");...
Vector Transform problem

Viewing all articles
Browse latest Browse all 645

Trending Articles