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

Moter avatar image
Moter asked Moter answered

Animated object with bones/armature hiding with a different camera position.

Good afternoon! We a faced with a strange bug - Animated object with a armature/bone animation are hiding with a different camera position.

Files for blender ready for export (Exporter 0.4.2.5) and GLTF in attach.

https://drive.google.com/file/d/1GkN8_xB_KyU3pFBXDJl8WwmvKVjJAh89/view?usp=sharing

sceneryanimationblender
1 comment
10 |10000

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

when I have visibility issues while camera too close to the model, I usually add lowpoly sphere 10x larger than model itself with invisible material applied. that enlarges bounding box and force rendering engine to show model in most cases.

1 Like 1 ·
FlyingRaccoon avatar image
FlyingRaccoon answered

Hello @Moter

Check this question where a similar problem was described:
Bounding Box for Skinned/animated objects issue - MSFS DevSupport (flightsimulator.com)

The bounding sphere is generated based on the position of vertices at frame 0.
If you use skinned animations to move your character around, this will not move the bounding sphere.
The way we suggest to fix this is to have your character stay in place in the skinned animation and move him around using a normal animation on a root node.

Regards,
Sylvain

10 |10000

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

Moter avatar image
Moter answered

Thank you so much! Another way for fix it - add to skinned mesh (Wich an animated) few polygons (with negatve Z location) on boundings of move armatrure.1646145010932.png


1646145010932.png (678.5 KiB)
10 |10000

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 19.1 MiB each and 23.8 MiB total.