Reported by Tigereye on 5 Jan 2010 09:38 UTCRelevant topic
When a player-piloted carrier has shields mounted, friendly ships have problems
docking in it.
Tkela writes:
There is code buried in the hit test code to indicate when an object should use
its actual convex hull shape or the elliptical shape of the shields. Stations
are, by default, set to use their convex hull for people on their own side and
the shield ellipse for all others when the shield is up (see the calls to
SetUseTrueShapeSelf()).
This flag is not set for ships (did the original carrier drones have shields)?
This may be fixable by:
Calling pht->SetUseTrueShapeSelf(pside) for ships with the carrier ability
(same place as the SetUseTrueShapeOther() call in shipigc.cpp).
Modifying the code in hittest.cpp that uses m_pvUseTrueShapeSelf so that htsA
is set using the similar logic as htsB.
Orginally, htsA was always the moving object and wouldn't need to be modified
on the fly. Carriers with shields change that.
Reported by Tigereye on 5 Jan 2010 09:38 UTC Relevant topic
When a player-piloted carrier has shields mounted, friendly ships have problems docking in it.
Tkela writes: There is code buried in the hit test code to indicate when an object should use its actual convex hull shape or the elliptical shape of the shields. Stations are, by default, set to use their convex hull for people on their own side and the shield ellipse for all others when the shield is up (see the calls to SetUseTrueShapeSelf()).
This flag is not set for ships (did the original carrier drones have shields)?
This may be fixable by:
Orginally, htsA was always the moving object and wouldn't need to be modified on the fly. Carriers with shields change that.