#Rotation Problem

23 messages · Page 1 of 1 (latest)

gray imp
#

Consider using rotation and position directly, instead of translate / rotate methods

#

Easier in a long run

wary jetty
#

I dont understand I guess

gray imp
#

object.position.x +=

#

For example

wary jetty
#

translate doesn't do that underneath?

gray imp
#

Nope, iirc they do it in world space, and position works in object space

wary jetty
#

🤯

wary jetty
#

To get it to align flush

gray imp
#

Put the object inside an empty group

#

And centre it inside

#

Then rotate the group

wary jetty
#

it's just one mesh, but i can try that

#

That seam at the bottom of the stairs

gray imp
#

Should the object snap to the centre of the grid cell? Or to edge?

wary jetty
#

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