mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-21 21:17:30 +00:00
#INTEL add rcs info to contact data
This commit is contained in:
@@ -1270,6 +1270,15 @@ function INTEL:_UpdateContact(Contact)
|
|||||||
else
|
else
|
||||||
Contact.maneuvering = false
|
Contact.maneuvering = false
|
||||||
end
|
end
|
||||||
|
local typename = Contact.group:GetTypeName()
|
||||||
|
local base_rcs = INTEL.RCS_Table[typename]
|
||||||
|
|
||||||
|
if not base_rcs then
|
||||||
|
-- Fallback: category default
|
||||||
|
local cat = Contact.group:GetCategory()
|
||||||
|
base_rcs = (cat and INTEL.RCS_CategoryDefault[cat]) or INTEL.RCS_Reference
|
||||||
|
end
|
||||||
|
Contact.rcs = base_rcs
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user