Wing animation with setup click

Hello modders, i try to anim the front and rear wing with setup, but my wing move with angle not with click, but for my car, front wing move 0.4° by 0.4° per click and rear wing move 0.6° by 0.6° per click, how can i make accurate the wing annimation?
 
So, in "wing_animations.ini" the number of frames must be the same number of frames as the animation, my aniamation have 20 frame my front wing have 8 position and my rear wing have 15 position, so in animation my front wing is animate 0 to 7 and my rear wing 0 to 14


aero.ini

[WING_1]
NAME=FRONT
CHORD=0.4
SPAN=1.5
POSITION=0.0,-0.2231922,2.391312
LUT_AOA_CL=wing_splitter_AOA_CL.lut
LUT_GH_CL=wing_splitter_GH_CL.lut
CL_GAIN=1.50
LUT_AOA_CD=wing_splitter_CD.lut
LUT_GH_CD=wing_dud.lut
CD_GAIN=1
ANGLE=2
ZONE_FRONT_CL=0.010
ZONE_FRONT_CD=0.010
ZONE_REAR_CL=0
ZONE_REAR_CD=0
ZONE_LEFT_CL=0.005
ZONE_LEFT_CD=0.005
ZONE_RIGHT_CL=0
ZONE_RIGHT_CD=0
YAW_CL_GAIN=-0.11

[WING_2]
NAME=REAR
CHORD=0.5
SPAN=0.9
POSITION=0,0.4359465,-1.839444
LUT_AOA_CL=wing_rear_AOA_CL.lut
LUT_GH_CL=wing_dud.lut
CL_GAIN=2
LUT_AOA_CD=wing_rear_AOA_CD.lut
LUT_GH_CD=wing_dud.lut
CD_GAIN=1
ANGLE=8
ZONE_FRONT_CL=0
ZONE_FRONT_CD=0
ZONE_REAR_CL=0.01
ZONE_REAR_CD=0.015
ZONE_LEFT_CL=0
ZONE_LEFT_CD=0
ZONE_RIGHT_CL=0
ZONE_RIGHT_CD=0
YAW_CL_GAIN=-0.05

wing_animations.ini

[ANIMATION_0]
WING=1 (number of wing in aero.ini)
FILE=front_wing.ksanim (name of animation)
MIN=0
MAX=20

[ANIMATION_1]
WING=2 (number of wing in aero.ini)
FILE=rear_wing.ksanim (name of animation)
MIN=0
MAX=20
 

Latest News

What's needed for simracing in 2024?

  • More games, period

  • Better graphics/visuals

  • Advanced physics and handling

  • More cars and tracks

  • AI improvements

  • AI engineering

  • Cross-platform play

  • New game Modes

  • Other, post your idea


Results are only viewable after voting.
Back
Top