Changed debugging.
This commit is contained in:
parent
2010398a12
commit
aaff45aaa4
@ -249,8 +249,8 @@ local function attemptBreakDown(notPattern)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function orient(v, forward, right)
|
local function orient(v, forward, right)
|
||||||
print("Attempting to orient such that " .. tostring(v) .. " == " .. tostring(forward) .. ".")
|
|
||||||
v = v / (v:length() * v:normalize())
|
v = v / (v:length() * v:normalize())
|
||||||
|
print("Attempting to orient such that " .. tostring(v) .. " == " .. tostring(forward) .. ".")
|
||||||
if vectorEqual(v, forward) then
|
if vectorEqual(v, forward) then
|
||||||
return true
|
return true
|
||||||
elseif vectorEqual(v, right) then
|
elseif vectorEqual(v, right) then
|
||||||
|
Loading…
Reference in New Issue
Block a user