PluginHit¶
Type
PluginHit describes where a PluginEvent cursor ray hits an unlocked part within 1000 units. Local coordinates are in units from the part's center along its unscaled axes.
Part¶
Part is the hit part.
Face¶
Face is the hit side: "Right", "Left", "Top", "Bottom", "Back", or "Front".
Position¶
Position is the hit point in world space.
Normal¶
Normal is the outward face normal in world space.
LocalPosition¶
LocalPosition is the hit point in Part's frame.
LocalNormal¶
LocalNormal is the outward face normal in Part's frame.