Yes, it is possible by using flaps parameters. Don't forget that it also gave quite a bit of downforce.
[REARWING]
RWForceDistrib=(0.5:RL_SPINDLE,0.5:RR_SPINDLE)
RWRange=(0, 1, 1) // rear wing range
RWSetting=0 // rear wing setting
RWDragParams=( 0.108, 0.015, 0.0001) // base drag and 1st and 2nd order with setting //( 0.045, 0.012, 0.0001)
RWLiftParams=(-0.232, 0.009, 0.0002) //was (-0.122,-0.03, 0.0002) base lift and 1st and 2nd order with setting
RWDraftLiftMult=1.05 // effect of draft on rear wing's lift response
RWLiftSideways=(0.31) // dropoff in downforce with yaw (0.0 = none, 1.0 = max)
RWLiftPeakYaw=(3, 1.01) // angle of peak, multiplier at peak
RWLeft=(-0.29, 0.03, 0.00) // aero forces from moving left
RWRight=(0.29, 0.03, 0.00) // aero forces from moving right
RWUp=( 0.00,-0.315, 0.010) // aero forces from moving up
RWDown=( 0.00, 0.308,-0.002) // aero forces from moving down
RWAft=( 0.00, 0.090,-0.005) // aero forces from moving rearwards
RWFore=( 0, 0, 0)
RWRot=(0.060, 0.040, 0.100) // aero torque from rotating
RWCenter=(0.0, 1.15, 0.71) // center of rear wing forces (offset from center of rear axle at ref plane)
//REAR WING FLAP
FlapDrag=(0.001,0.09) // base drag when activated, multiplier by deactivated drag to add in //0.005
FlapLift=(0.21,1.0) // base lift when activated, multiplier by deactivated lift to add in //0.27
FlapTimes=(0.5,0.55,0.5,0.55) // visual activation, physical activation, visual deactivation, physical deactivation
FlapRules=(-1.0,2.0) //(0.5,0.03)// throttle threshold, brake threshold for automatic deactivation //(-1.0,2.0)
I must be doing something wrong, i ended up with thisRear flap animation can be done by adding pivot point to the object that needs to be rotated. If you work with 3dsimed, you can do this by:
1. open "air brake" object in 3dsimed via "Import as objects". Note, the "rear flap" object must be a separate object from other car parts.
2. Select the object, on "Object instance Edit" panel, click [+] button and select "pivot point set to geometic center". Then write down "X Pivot" value from "Tag Attributes > Pivot Point".
3. find and set the rotation center on Y & Z axis. You can do this by move mouse cursor to the rotation center of the object and "right click" > "Memorize XYZ", then open notepad and hit "Ctrl+V" to paste down XYZ coordinates. In this case it would be somewhere near the bottom of the "air brake piece" object.
4. fill in each XYZ Pivot in "Tag Attributes > Pivot Point" with "X Pivot" value that you were written down from step 2, and YZ Pivot from step 3.
5. set object as "moveable", and export the new GMT file, done. You can also preview rotation in 3dsimed by adjusting "Rotation > Pitch" value with mouse wheel, just remember to set value back to zero before export.
Last, in Cockpitinfo.ini file, add following line:
RearFlapOriChange=(45.0, 0.0, 0.0) // pitch, yaw, roll angle
And in GEN file, add something like:
Instance=REARFLAP
{
Moveable=True
MeshFile=rear_flap.gmt CollTarget=False HATTarget=False LODIn=(0.0) LODOut=(800.0) ShadowCaster=(True, Solid) Reflect=True
}
![]()
it would of been nice to see in rfactor 2 but as I only use a xbox 360 controller i think i will give up on this and get back to playing the game.You will need to setup HDV with proper physics and rear flap condition trigger (as the "FlapRules" parameter mentioned by @mantasisg) before it can work properly.
Normally rear flap(DRS) only works and animates when you first activated it via rear flap button and also in DRS zone (as you would with other DRS cars), then the wing (or whatever is the rear flap object) will rotate according to pivot point(rotation center). And when you trigger one of the rear flap deactivation conditions (some common condition like coasting, braking, etc), the read flap will return to its initial position
However, in your case, you want rear flap to activated on brake (without press rear flap button), and deactivate when not braking, which is completely the opposite of how RF2's rear flap (DRS) normally works. Normally if rear flap button is not pressed, rear flap simply won't activate, you will probably have to manually press rear flap button at the same when braking to simulate it. I don't know if there is a way to "auto-activate" rear flap. You may try mantasisg's tweaks in HDV see if works.