Okay. My plane has over 8 separate thrusters. However, when I go to THRUSTER_HANDLE, I set the th_main to [8]. Then I go to create the thrusters further down my .cpp. It looks like this.
just with 7 more versions of that with th_main [1], th_main[2], etc.
When I compile it does not work and says
What is associated with this problem and how do I properly define 8 grouped thrusters?
Code:
th_main = CreateThruster (_V(0,0,-4.35), _V(0,0,1), Spacecraft_MAXMAINTH, hpr, Spacecraft_ISP);
CreateThrusterGroup (&th_main, 8, THGROUP_MAIN);
When I compile it does not work and says
Code:
>..\..\TransportVehicle\TransportVehicle\Spacecraft.cpp(148) : error C2664: 'VESSEL::CreateThrusterGroup' : cannot convert parameter 1 from 'THRUSTER_HANDLE (*)[1]' to 'THRUSTER_HANDLE *'
1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
What is associated with this problem and how do I properly define 8 grouped thrusters?