feat: add a center source

This commit is contained in:
Kazhnuz 2021-08-08 14:49:34 +02:00
parent db4116f330
commit bce27e8564

View file

@ -39,6 +39,8 @@ function StepParent:getStepCoordinate()
if (source == "start") then
x, y, z = self.choregraphy.actor.start.x, self.choregraphy.actor.start.y, self.choregraphy.actor.start.z
elseif (source == "center") then
x, y, z = 6, 3, 0
else
local actor = self:getActor(source)
if (actor == nil) then