Go Back   AC3D Forums > Meeting places > AC3D and X-Plane
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 21st September 2022, 04:55 AM   #1
vicia
Junior Member
Junior member
 
Join Date: Sep 2022
Posts: 4
Default how to make a spinning wheel on the ground stop spinning in the air

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
vicia is offline   Reply With Quote
Old 21st September 2022, 09:16 AM   #2
Sean
Member
Advanced member
 
Join Date: May 2015
Location: CYHM
Posts: 33
Default Re: how to make a spinning wheel on the ground stop spinning in the air

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?
Sean is offline   Reply With Quote
Old 21st September 2022, 10:43 AM   #3
vicia
Junior Member
Junior member
 
Join Date: Sep 2022
Posts: 4
Default Re: how to make a spinning wheel on the ground stop spinning in the air

> 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.
vicia is offline   Reply With Quote
Old 21st September 2022, 10:49 AM   #4
vicia
Junior Member
Junior member
 
Join Date: Sep 2022
Posts: 4
Default Re: how to make a spinning wheel on the ground stop spinning in the air

------------------------------------------------

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
vicia is offline   Reply With Quote
Old 1st December 2022, 01:03 AM   #5
domhenry
Member
Expert member
 
Join Date: Feb 2019
Posts: 57
Default Re: how to make a spinning wheel on the ground stop spinning in the air

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
domhenry is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 06:24 AM.


AC3D Forum
(C) Inivis Limited 2020