Help about fake cursors

Hello i got a little question my cursor don’t move when the var useBoundingBox = true; butwhen it’s false it work but snap doesn’t , do u know why ?

boundingBox.center gives you the local center. which is always Vec3(0, 0, 0)
you’re probably looking for boundingBox.centerWorld

also your cursor gets hidden in the mesh so maybe change cursor.renderingGroupId = 1 to always visualize it on top?

Is this what you were looking for?

2 Likes

Not really but it’s better lol i want to be able to select to snap point and the line gonna join them and when u press i u can press the mesh (because the spanpoint and boundingbox disepear)

1 Like

I mean

the code checks the center of the bounding boxes to snap to,
if you wanna snap to snap points then you gotta check for snap points : )

4 Likes

Oh yes thanks i’m so stupid fr thanks a lot!

2 Likes

Nice one, Postmortal :wink:

2 Likes

hehe :grinning:

1 Like

hahahaha!

1 Like