Makie meshscatter positioning and rotation of non-spherical markers

I have assumed (bad idea…) that for a non-spherical marker (eg a box) in meshscatter the position and center of rotation would be the center of the box. That seems not to be the case but rather one of the corners of the box is used. Is this intentional? If it is - can the center be used as reference point for positioning and rotation in a simpler way than skipping meshscatter and explicitly drawing all box objects?

if you do:

rectMesh = FRect3D(Vec3f(-0.5), Vec3f(1))

and then:

meshscatter(.... marker = rectMesh)

it will be centred.

1 Like

Julia/Makie in a nutshell: Helpful community and solutions that
look so obvious once you see them :wink: