rover2341
Is riding a roller coaster...Wee!
- Reaction score
- 114
Code:
UnitCreate(1,"Carrier", 0, 1,Point(0,0),0);
fixed lv_forwardX;
fixed lv_forwardY;
fixed lv_forwardZ;
fixed lv_upX;
fixed lv_upY;
fixed lv_upZ;
// Variable Initialization
lv_forwardX = Cos(90);
lv_forwardY = Sin(90);
lv_forwardZ = Sin(145);
lv_upX = Cos(0);
lv_upY = Sin(0);
lv_upZ = Cos(145);
// Implementation
libNtve_gf_SendActorMessageToUnit(UnitLastCreated(), libNtve_gf_SetRotation(lv_forwardX, lv_forwardY, lv_forwardZ, lv_upX, lv_upY, lv_upZ));