Visit Captain Sim web site  
  Welcome, Guest. Please Login or Register

 

Page Index Toggle Pages: 1 Send TopicPrint
Using weapons as AI (Read 897 times)
glassman2005
New Member
Offline



Posts: 1
Joined: Aug 10th, 2019
Using weapons as AI
Aug 10th, 2019 at 12:37pm
Print Post  
I have briefly scanned thru the prior posts and I didn't think I saw an answer.   Sorry if this is a repeat.   I'm trying to use some of the simobjects as AI that I control through a SimConnect C++ program.   As an example, I am testing with the AIM9 missile.  It does get created in the sim environment, and it does explode on impact with the ground, but the rocket engine does not start, so the rocket just creates and falls straight to the ground without any forward thrust.  I tried doing a SetDataOnSimObject to set Combustion to 1, and I have tried sending a set of waypoints to the rocket, but but neither of these seemed to work.  Is there a particular message (or sequence of messages) I can send (via SimConnect) to CS Weapon SimObjects in order to get their engines to light up and propel the rockets forward?
  
Back to top
 
IP Logged
 
Captain Sim
CS Team
*
Offline



Posts: 4213
Joined: Nov 7th, 2005
Re: Using weapons as AI
Reply #1 - Aug 16th, 2019 at 11:38pm
Print Post  
Our Weapon SimObjects are not regular sim AI objects, they are 3D models that are totally controlled by our custom code that calculates all the weapons' physics.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint
 
  « Board Index ‹ Board  ^Top