- Messages
- 149
- Country

Can anyone comment on the best way to move an AI object smoothly under the direct control of a simconnect client ? The issue has been around for a long time, fsrecorder seems to do pretty well so its possible, but I've seen lots of posts but no good answer. To some this post will seem a bit of a necro of the issue but I'm hoping experience has been gained since Russell's post.
I do not believe this is purely a function of update rates, and do not want to get into a debate about the latency of named pipes/udp/tcp etc. or why simconnect sucks.
Russell did a good job of posting this video in this other fsdeveloper post from last year, but I don't think he ever got a clear answer.
I do 100% understand the comments from folks that *if* you could update the AI position (lat/long/alt) 100 times a second *and* pass those updates to FSX with zero latency *and* ensure the updates are synchronised with the millisecond timestamp of the FSX frames *then* it would be smooth, but I don't think this is a viable technique, even though it seems the simplest.
My fundamental question is "is it possible to have the plane move smoothly between points relative to a shadowing user aircraft" even if the position updates are relatively infrequent from the simconnect client (e.g. even once every FOUR seconds). This would mean you would have be sending velocity or acceleration vectors to the AI object, not just simple lat/long/alt updates every visual frame. Like Russell, I'm *not* concerned at this stage with the jumps that may then occur every four seconds - it's the relative jitter during linear movement I want to address at this stage. I have no problem at all with the FREEZE and DISABLE SIM commands.
I think the basic answer needed is whether the AI aircraft can be given a position update including (e.g.) VELOCITY BODY Z and have that do what you'd expect until changed, or maybe the slew mode is helpful in a similar way.
Any help very much appreciated...
B21
I do not believe this is purely a function of update rates, and do not want to get into a debate about the latency of named pipes/udp/tcp etc. or why simconnect sucks.
Russell did a good job of posting this video in this other fsdeveloper post from last year, but I don't think he ever got a clear answer.
I do 100% understand the comments from folks that *if* you could update the AI position (lat/long/alt) 100 times a second *and* pass those updates to FSX with zero latency *and* ensure the updates are synchronised with the millisecond timestamp of the FSX frames *then* it would be smooth, but I don't think this is a viable technique, even though it seems the simplest.
My fundamental question is "is it possible to have the plane move smoothly between points relative to a shadowing user aircraft" even if the position updates are relatively infrequent from the simconnect client (e.g. even once every FOUR seconds). This would mean you would have be sending velocity or acceleration vectors to the AI object, not just simple lat/long/alt updates every visual frame. Like Russell, I'm *not* concerned at this stage with the jumps that may then occur every four seconds - it's the relative jitter during linear movement I want to address at this stage. I have no problem at all with the FREEZE and DISABLE SIM commands.
I think the basic answer needed is whether the AI aircraft can be given a position update including (e.g.) VELOCITY BODY Z and have that do what you'd expect until changed, or maybe the slew mode is helpful in a similar way.
Any help very much appreciated...
B21
Last edited:



