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
|
if (source == "start") then
|
||||||
x, y, z = self.choregraphy.actor.start.x, self.choregraphy.actor.start.y, self.choregraphy.actor.start.z
|
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
|
else
|
||||||
local actor = self:getActor(source)
|
local actor = self:getActor(source)
|
||||||
if (actor == nil) then
|
if (actor == nil) then
|
||||||
|
|
Loading…
Reference in a new issue