#4x3x4 grid building system
1 messages · Page 1 of 1 (latest)
youre able to use // and * on two vector3's which applies the operator to each corresponding component of each vector
with that in mind you may be able to change your SnapToGrid and IsWithinGrid functions to be the grid size you want
for instance, vecA // vecB == Vector3.new(vecA.X // vecB.X, vecA.Y // vecB.Y, vecA.Z // vecB.Z)
do they have to be identical?
One message removed from a suspended account.
what does "within the grid" mean in this context
also what i meant by the operators you can use on vectors is you can replace the return in SnapToGrid with return pos // GRID_SIZE * GRID_SIZE
One message removed from a suspended account.
and its correct on the other axes?