#Rotation Problem
23 messages · Page 1 of 1 (latest)
I dont understand I guess
translate doesn't do that underneath?
Nope, iirc they do it in world space, and position works in object space
🤯
No clue why, but for my objection with dimn of 30, I'm still having to do
stairs.object.rotation.y += Math.PI / 2
stairs.object.position.z += 14
stairs.object.position.x += 14
To get it to align flush
Should the object snap to the centre of the grid cell? Or to edge?
edge
the rotated 180 degree version should occupy the same space as the original
and the 270 degree version should occupy the same space as the 90 degree version
that is my goal
For dimensions 30x40,
I have to offset not by 30 / 2 = 15, but by 14
Changed dimn to 40x60
and now have to offset not by 40/2 = 20, but by 18