#Tracking Custom Handles to Mouse

1 messages · Page 1 of 1 (latest)

woven spade
#

Hi, I've just recently started learning to create custom Handles and I'm having some difficulty with the movement of the handles. In particular, it seems like the distance between the handle and the world origin determines how fast the handle moves.

#

This is my code atm (I'm running Unity 2020.3)

#

Would anyone be able to help me figure out how to make sure the handle always stays anchored to the mouse?

fleet gorge
woven spade
#

I see

#

Can FreeMoveHandle be restricted to a single dimension of movement? Doing so was part of my motivation for using ScaleValueHandle

#

considering that the value being modified is a scalar

fleet gorge
#

same effect

woven spade
#

ah, fair enough

#

thank you for the help!

fleet gorge
#

Another option same thing basically, but different

#

Probably actually what you want

woven spade
#

FreeMove did it, actually!

#

I tried both, but Slider was a bit more finicky to work with

#

It didn't seem like the entire dot cap was clickable in the case of the Slider