mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
#GROUP
* Added function to obtain *average* Vec3 of the GROUP * Added function to obtain *average* Coordinate of the GROUP #TARGET * Make use of new coordinate function in GROUP
This commit is contained in:
@@ -1141,7 +1141,7 @@ function TARGET:GetTargetVec3(Target)
|
||||
local object=Target.Object --Wrapper.Group#GROUP
|
||||
|
||||
if object and object:IsAlive() then
|
||||
local vec3=object:GetVec3()
|
||||
local vec3=object:GetAverageVec3()
|
||||
|
||||
if vec3 then
|
||||
return vec3
|
||||
|
||||
Reference in New Issue
Block a user