|
From: Diogo K. <dk...@bi...> - 2009-02-23 23:26:14
|
Em Seg, 2009-02-23 às 17:58 -0300, Diogo Kastrup escreveu:
> The carrier sailing out from underneath is strange, it looks like the
> groundcache can't finding a intersection with the ground for these
> aircrafts and it is using a fallback value. Can someone check if this
> happens without my patch also? I will try to find out why this is
> happening.
Yep, the groundcache can't find a intersection. I think this problem
occurs without my patch also. To fix it just change groundcache.cxx
around line 312 from this:
if (d*d < reference_vehicle_radius*dot(n, n)) {
to this:
if (d*d < reference_vehicle_radius*reference_vehicle_radius*dot(n, n)) {
I am sending the diff again with the fix for this and the (untested) fix
for the zero-speed problem, just in case someone want to play with it.
I am still trying to figure out why the s76c is shaking. This happens
with other helicopters also, like the R22.
Regards,
Diogo
|