kristian80 / HSL

Helicopter Sling Line
GNU General Public License v3.0
4 stars 2 forks source link

Drag forces reversed #9

Open d41k4n opened 4 years ago

d41k4n commented 4 years ago

I noticed drag forces are reversed e.g. the hook/cargo is pushed against the airflow direction.

kristian80 commented 4 years ago

Most likely you have a negative parameter somewhere. I have no checks and if side lengths or cw value are negative, it would result in a reversed drag. Also check the ini file with an editor, I never checked if the sign of the values is displayed correctly. Well, probably I should add a check.

I'm currently working on the drag part and checked pretty often that the drag goes into the right direction. Of course there could still be a bug in the beta version I uploaded, but I think there would have been more reports of such an obvious error.

What's definitely missing is the object orientation for the drag. I tried to do that before my vacation, but did not finish in time.

d41k4n commented 4 years ago

I checked again and I don't see any negative values. I'm using the plugin with the H145 and a custom-set winch position that is located above the left cabin door. Can you confirm the drag forces work okay using a port-side offset for the winch position?

d41k4n commented 4 years ago

I did some more testing and it seems as if drag is gradually reversed when the rope length goes lower than ~0.7m (worst at its minimum e.g. 0.1m). IMO this happens only when the aircraft is actually moving. If the aircraft is static any wind seems to create correct hook/cargo displacement.

Here's a screenshot of my plugin window: https://www.mediafire.com/convkey/a028/m1k3pt4e2g3vpfxzg.jpg

kristian80 commented 4 years ago

Thanks for the report!

That makes sense. Most likely the cargo height get's in the way. 0.7 would be roughly half of it. I will check this when I have some time.

d41k4n commented 4 years ago

Reducing cargo height did not improve things.