Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. /////////
  2. //PITCH//
  3. /////////
  4.  
  5. //////
  6. //UP//
  7. //////
  8. th_rcs[0] = CreateThruster(_V(1,0,0), _V(0,0,1), 1, RCSFuel,320000);
  9. th_group[0] = th_rcs[0];
  10. CreateThrusterGroup (th_group, 1, THGROUP_ATT_PITCHUP);
  11.  
  12. ////////
  13. //Down//
  14. ////////
  15. th_rcs[ 1] = CreateThruster(_V(-1,0,0), _V(0,0,1), 1, RCSFuel,320000);
  16. th_group[1] = th_rcs[1];
  17. CreateThrusterGroup (th_group, 2, THGROUP_ATT_PITCHDOWN);
  18.  
  19.  
  20. ///////
  21. //YAW//
  22. ///////
  23.  
  24. /////////
  25. //RIGHT//
  26. /////////
  27. th_rcs[ 2] = CreateThruster(_V(0,1,0), _V(1,0,0), 1, RCSFuel,320000);
  28. th_group[2] = th_rcs[2];
  29. CreateThrusterGroup (th_group, 3, THGROUP_ATT_YAWLEFT);
  30.  
  31. /////////
  32. //RIGHT//
  33. /////////
  34. th_rcs[ 3] = CreateThruster(_V(0,-1,0), _V(-1,0,0), 1, RCSFuel,320000);
  35. th_group[3] = th_rcs[3];
  36. CreateThrusterGroup (th_group, 3, THGROUP_ATT_YAWRIGHT);
  37.  
  38. ////////
  39. //ROLL//
  40. ////////
  41.  
  42. /////////
  43. //RIGHT//
  44. /////////
  45. th_rcs[ 4] = CreateThruster(_V(0,0,0), _V(0,1,0), 1, RCSFuel,320000);
  46. th_group[4] = th_rcs[4];
  47. CreateThrusterGroup (th_group, 4, THGROUP_ATT_BANKLEFT);
  48.  
  49. ////////
  50. //LEFT//
  51. ////////
  52. th_rcs[ 5] = CreateThruster(_V(0,0,0), _V(0,-1,0), 1, RCSFuel,320000);
  53. th_group[5] = th_rcs[5];
  54. CreateThrusterGroup (th_group, 5, THGROUP_ATT_BANKRIGHT);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement