y3-editor / y3-lualib

MIT License
141 stars 42 forks source link

move之后z坐标获取不到 #481

Closed 314599782 closed 2 months ago

314599782 commented 3 months ago

local z = unit:get_point() GlobalAPI.get_fixed_coord_index(z.handle, 1):float() local z2 = z:move(0,0,0) GlobalAPI.get_fixed_coord_index(z2.handle, 1):float()

move之后z坐标获取不到

sumneko commented 2 months ago

目前设定如此,z轴是无效的

sumneko commented 2 months ago

已经改成有效的实现方式