question

Shinya O avatar image
0 Likes"
Shinya O asked Shinya O commented

Transporter Wheels Size

Hi,

Changing a transporter size, the aspect ratio of the wheel will change. Since an oval wheel spinning is not a good animation, I would like to make the wheel shape circular. I solved it by changing the size in OnPreDraw trigger, but is there a better way? Can I do the same thing without using OnPreDraw or OnDraw triggers?

I attached my model.TransporterWheelsSize.fsm

Thanks in advance.

FlexSim 23.0.11
transporterwheels
5 |100000

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

Phil BoBo avatar image
1 Like"
Phil BoBo answered Shinya O commented

You could adjust which axis of the main object the wheels scale with:

1696427947062.png

By default, X scales with X, Y with Y, and Z with Z.

If you change X and Z to both scale with Z, then they'll remain circular because they will both scale with a single dimension instead of separate dimensions.


1696427947062.png (463.5 KiB)
· 1
5 |100000

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

Shinya O avatar image Shinya O commented ·

Thank you for your information. Even when Do Animation is checked, it works fine.

0 Likes 0 ·
Iago MF avatar image
0 Likes"
Iago MF answered Phil BoBo converted comment to answer

An animation is being applied to wheels when the transporter is travelling, so if you resize the wheels, each frame for that animation should be changed to the new size. The simpliest work around is uncheck Do Animations. The wheels won't spin, but it's not really relevant.

1696410191395.png



1696410191395.png (19.2 KiB)
· 1
5 |100000

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

Shinya O avatar image Shinya O commented ·
Thank you for your information. Unchecking Do Animation is a good work around.
0 Likes 0 ·

Write an Answer

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

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