Board index FlightGear Support Interfacing

Modifying AI model offsets on the fly

Connecting two computers, using generic protocol, connecting with Matlab?

Modifying AI model offsets on the fly

Postby techyCoder81 » Fri Jun 14, 2019 9:56 pm

I have an AI craft that I'm creating with an AI scenario, and that I'm then controlling with some nasal. However, I cant seem to figure out how I can modify the offsets of this model on the fly. How would I do that?

Code: Select all
<?xml version="1.0"?>
    <name>test flight scenario</name>
    <description>This scenario is used to demonstrate the flightpath</description>
      <model>Aircraft/my-aircraft.xml</model> <!-- this is the one i need to modify the offsets for -->

Code: Select all
<?xml version="1.0"?>
   <y-m>0</y-m> <!-- these values need to be changed real time -->

Any help?
Posts: 3
Joined: Mon Jun 03, 2019 6:49 pm

Re: Modifying AI model offsets on the fly

Postby Octal450 » Fri Jun 14, 2019 10:30 pm

Not possible. You'll need to use translate animation to move em.

Kind Regards,
Waste of time. Goodbye forever.
Posts: 4398
Joined: Tue Oct 06, 2015 12:51 pm

Return to Interfacing

Who is online

Users browsing this forum: No registered users and 1 guest