Zane
New member
I've got a question about the Vessel::AddExhaust method.
In my vessel, I've got this bit of code:
It's supposed to make 5 engines and assign give exhaust textures to each of them, with each exhaust billboard thing facing directly down. However, the exhaust faces outward for some reason. Does anyone know how to remedy this?
-Zane
In my vessel, I've got this bit of code:
Code:
Main[0] = this->CreateThruster (_V(0,0,0), _V(0,0,1), S1MAXMAINTH, MainProp, S1ISP);
Main[1] = this->CreateThruster (_V(1,0,0), _V(1,0,1), S1MAXMAINTH, MainProp, S1ISP);
Main[2] = this->CreateThruster (_V(0,1,0), _V(0,1,1), S1MAXMAINTH, MainProp, S1ISP);
Main[3] = this->CreateThruster (_V(-1,0,0), _V(-1,0,1), S1MAXMAINTH, MainProp, S1ISP);
Main[4] = this->CreateThruster (_V(0,-1,0), _V(0,-1,1), S1MAXMAINTH, MainProp, S1ISP);
this->AddExhaust (Main[0], 8 * 10, 1 * 10, _V(0,0,0), _V(0,0,-1));
this->AddExhaust (Main[1], 8 * 10, 1 * 10, _V(1,0,0), _V(1,0,-1));
this->AddExhaust (Main[2], 8 * 10, 1 * 10, _V(0,1,0), _V(0,1,-1));
this->AddExhaust (Main[3], 8 * 10, 1 * 10, _V(-1,0,0), _V(-1,0,-1));
this->AddExhaust (Main[4], 8 * 10, 1 * 10, _V(0,-1,0), _V(0,-1,-1));
-Zane