![]() |
#1 |
Junior Member
Junior member
Join Date: Sep 2022
Posts: 4
|
![]()
Good morning
I have a question about the wheel rotation animation, how to make a spinning wheel on the ground stop spinning in the air For animation he uses: sim / flightmodel2 / gear / tire_rotation_angle_deg [0] but then the animation is full-time and in the air and on the ground as it applies, you can also do the wheel spins on the ground but stops immediately after tearing off I would like to get the effect that the wheel turns on the ground and then slowly stops in the air It is possible because I have it in a paid plane but I tried to preview the file's code and mess with the settings somehow I can't do it Someone will suggest it |
![]() |
![]() |
![]() |
#2 |
Member
Advanced member
Join Date: May 2015
Location: CYHM
Posts: 33
|
![]()
I think you want the wheels to have mass and therefore inertia. I'm not sure how to do that via dataref; as I typed that I had a thought.
Would it be possible to apply a parameter that would set a time for how long the wheel spins? |
![]() |
![]() |
![]() |
#3 |
Junior Member
Junior member
Join Date: Sep 2022
Posts: 4
|
![]()
> think you want the wheels to have mass and therefore inertia. I'm not sure how >to do that via dataref; as I typed that I had a thought.
It is an animated wheel that slows down and stops in the air (also has depreciation) ----------------------------------------- ANIM_begin ANIM_trans -0.009130 -0.105874 -0.000006 0.000000 0.000000 0.000000 0.000000 0.200000 sim/flightmodel2/gear/tire_vertical_deflection_mtr[1] ANIM_begin ANIM_trans -1.701430 -0.690885 0.169299 -1.701430 -0.690885 0.169299 0.000000 0.000000 none ANIM_rotate -1.000000 0.000005 0.000012 0.000000 180.000000 0.000000 180.000000 sim/flightmodel/parts/tire_prop_rot[1] ANIM_trans 1.701430 0.690885 -0.169299 1.701430 0.690885 -0.169299 0.000000 0.000000 none ANIM_hide -30.000000 30.000000 sim/flightmodel/parts/tire_speed_now[1] TRIS 70158 8250 ATTR_reset TRIS 78408 28404 ANIM_end ANIM_end -------------------------------------------- but something is not working for me Regards Last edited by vicia; 22nd September 2022 at 03:06 AM. |
![]() |
![]() |
![]() |
#4 |
Junior Member
Junior member
Join Date: Sep 2022
Posts: 4
|
![]()
------------------------------------------------
ATTR_LOD 0,000000 961,470459 ANIM_begin ANIM_trans -0,005061 -1,282122 -0,132323 -0,005061 -1,282122 -0,132323 0,000000 0,000000 brak ANIM_rotate 1,000000 0,000001 0,000000 0,0000000 -180,000000 0,000000 1,000000 sim/flightmodel2/gear/tire_rotation_angle_deg[0] ANIM_trans 0,005061 1,282122 0,132323 0,005061 1,282122 0,132323 0,000000 0,000000 nie ATTR_shiny_rat 0,196078 TRIS 0 9408 ANIM_end -------------------------------------------------------- my wheel turns but doesn't stop in the air I was trying to understand something from a working example of a circle animation But I am not successful, my wheel disappears |
![]() |
![]() |
![]() |
#5 |
Member
Expert member
Join Date: Feb 2019
Posts: 57
|
![]()
You could use XLUA to put the brakes on once yr off the ground - or you could use a show / hide to swap to a none animated wheel when you are off the ground
|
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|