Hey, I was curious what can be done with only a few lua lines, so I made me a little auto retractable Spoiler for the Bolide. I don't say its pretty, it isn't, look at it more like a proof of concept. It wasn't hard to implement and only an afternoon worth of tinkering, but maybe its useful or fun to somebody who doesn't know to do it himself or where to start. It is aerodynamically functional. It extends when you hit 50 Km/h to high down force position, at 120 km/h it retracts half way and fully retracts over 180km/h to reach top speed. When you hit the brakes with 30% force or more then it extends to air brake position. (brake input) You can play with the speed values in the lua file if you want. The Top speed is decreased sadly because I set a pretty high drag coefficient to increase the down force effect I hope everything works and I didn't forget something. Simply extract the folder into the vehicle folder, no original Content will be overridden. Of course I only modified a few files, so all credit for the model, jBeam and so on goes to the BeamNG-Team. You can use the mod however you want. Due to some clipping issues I had to disable self collision of the tailcone, disabled self collision of the spoiler wasnt enough, don't know why really.
Wow! Looks awesome, downloading now. I didn't know moving parts would be so simplistic to implement. I would love to see more modern cars added in the future with extending spoilers. -Edit- Works perfectly I would say the difference starts to be noticeable once you can get your foot down without the wheels spinning, at mid to high speeds.
Works wonderfully, also seems to marginally improve handling and help make the car overall a bit more forgiving.
This is a seriously cool mod, and also helps pave the way for future vehicles and vehicle mods with novel LUA controlled functions. Bravo.
Something I noticed about this was the effect on top speed (only tested with the 390GTR) After using the spoiler the top speed is quite severely lowered. This would make sense due to the added downforce, but the spoiler retracts at high speed which, like you said, should counter this. Not that you're obliged to fix, I was just letting you know -EDIT- derp I think you may have updated the post after I first downloaded or i just missed it, didn't see that you had pointed this out already.
Here you go: But only because I always wanted to try out screen capturing Yes I added that disclaimer a little afterwards ^^ . The problem seems to be that when the Triangle is not perfectly flat it produces still drag, or it produces a little drag, even when its not facing the "wind". Also, i went a little overboard with the drag value to see a better effect when it rises. If you really want you could go into super_spoiler.jbeam and search and delete "{"dragCoef":500}," , then the drag for the spoiler uses the default Value. No thats not normal but I have no clue what happened there. Nobody else seems to have that problem. Try to delete the folder and copy the complete folder from the archive into vehicles again.
I'm afraid whatever effects you are experiencing are a placebo. I've been debugging downforce with the spoiler on the Sunburst, and thought I would test your spoiler to see if and how it worked. I compared it to the standard Bolide and your spoiler simply does not create any downforce. The standard Bolide has the same amount of downforce/lift at 130 mph as it does stopped, and your spoiler doesn't change that. EDIT: There is also no change in downforce in the intermediate speeds, where your spoiler is fully deployed.
Maybe the drag from behind helps stabilize the car like the fins on a rocket for example. Center of drag behind center of mass = stable. Sent from my HTC-X710a using Tapatalk 2
Well, if you bind the hydros to lets say, turnsignal or headlights and extend the spoiler at about 100 kmh or even better at 160 kmh, you can observe that the rear of the car is in fact being pushed down. That for me is an indicator of more downforce, or not? I just testet it again with outLimit 1.07. What I cant speak for is the better handling claims, didnt test it to detailed. Edit:
Yes, if you force it to have a severe AOA like that at high speed it will generate some downforce, but in its current state it never generates anything significant.
What I posted, is exactly the current state. I only triggert it manually to show you the transition effect. And what you think is significant or worth it, is then up to you really... Well, I dont know if we're talking past each other now. Edit: here is the lua script that enables you to override the speedcontrolled pull out. Turnsignal left is turn off and turnsignal right is lock it at the regular high downforce position. Just replace the original one.
My point is that the normal logic the spoiler uses to extend/retract never really gives you enough downforce to notice. If you go fast enough for it to really press the rear down, it folds back down again to reduce drag. Also, your dragCoef of 500 is absurd; 100 is the upper edge. A wing really has to be massive with a very steep angle of attack to generate meaningful downforce. Setting a dragCoef of 500 is basically cheating the laws of aerodynamics.
Every post another point? If you say so. If you read my original post you notice that I did that on purpose, what you clearly see (<- that was my whole point of the mod) at dragCoeff 500 happens less, but happens at a lower dragCoefficient too. Oh and show me where the car rotates so much that the Wing has no more angle of attack... Of course not every car has to have formula one car like down force, just look at the R8 Spoiler, its tiny.