plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.

Please take a moment to read the platform’s guidelines before you get started!

question

thealx avatar image
thealx asked thealx commented

ROTATION ACCELERATION BODY / ACCELERATION BODY not settable

Since the beginning, variables ROTATION ACCELERATION BODY, ACCELERATION BODY and ACCELERATION WORLD were always read only.

In 1.15.7.0 release notes I have seen

SimConnect:
  • Exposed ROTATION_ACCELERATION_BODY_X/Y/Z Simvars

and tested it straight away - I can swear it worked, and much smoother than ROTATION VELOCITY, so I kept in mind several ideas how it can be used.

But now it no longer works, checked the docs - even more vars marked as settable, but none actually affect game physics. SimConnect does not return the error on attempt to set such vars, so I believe it is a matter of the unit, or just a code bug.

Please clarify this point as these variables are critical for any kind of physics manipulations.


p.s. more logical unit for ROTATION VELOCITY is radians per second
1626337673902.png1626337765773.png

aircraftsimconnect
1626337673902.png (87.6 KiB)
1626337765773.png (74.9 KiB)
10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

FlyingRaccoon avatar image
FlyingRaccoon answered thealx commented

Hello.

I've just tried to write to the ROTATION simvars using SimVarWatcher and had no issues both on the official retail and preview build.
Note that your value will be overwritten in the next loop so this will not be visible directly in the SimVarWatcher. But your aircraft rotation should be impacted when writing those values.
Also make sure your aircraft is not on the ground when testing this.

On the other hand, all ACCELERATION BODY and ACCELERATION WORLD simvars don't seem to be writable at the moment. I suspect this was never supported by the new flight model and we will inspect this further...

Finally, as for the unit used for ROTATION VELOCITY, I agree but we kept the legacy unit from FSX to ensure compatibility with older modules.

Regards,
Sylvain

1 comment
10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Indeed, sim on ground is the reason why it does not work.
0 Likes 0 ·
Krazycolin avatar image
Krazycolin answered

We'd like an answer to this as well... (we were the ones that asked for this to be settable).


10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.