feat: add a center source
This commit is contained in:
parent
db4116f330
commit
bce27e8564
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue