marker fix

wasnt drawing at the correct location just the first location.

cleaned up prints in particles
This commit is contained in:
gononono64 committed 2025-05-12 02:44:27 -05:00
1 parent b39e9afb2f
commit 340b57d301
3 files changed
+13 -73

No files matched your search

-13
View File
@@ -8,19 +8,6 @@ function Marker.New(data)
print("Invalid marker position. Must be a vector3 with x, y, and z coordinates.")
return
end
if data.offset and (not data.offset.x or not data.offset.y or not data.offset.z) then
print("Invalid marker offset. Must be a vector3 with x, y, and z coordinates.")
return
end
if data.rotation and (not data.rotation.x or not data.rotation.y or not data.rotation.z) then
print("Invalid marker rotation. Must be a vector3 with x, y, and z coordinates.")
return
end
if not data.size or not data.size.x or not data.size.y or not data.size.z then
print("Invalid marker size. Must be a vector3 with x, y, and z dimensions.")
return
end
local _id = data.id or id.CreateUniqueId(Created)
local data = {