#mouse a little off

1 messages · Page 1 of 1 (latest)

safe zephyr
#

im tryna get where the mouse is pointing at (without using hit). Target wouldnt work because that only gives the position of the part its aiming at

#

also if anyone knows how to make getpartsinpart to an event that would be nice

#

or just a .touched alternative that detects anchored parts

fiery lynx
#

raycast from the camera not the tool

#

or backwards engineer the direction you need to go from toolpos to mouse.hit

#

but really just use mouse.hit

safe zephyr
#

oops.

#

ok yeah it works thanks

safe zephyr
#

(this trigger is hold m1)

fiery lynx
#

no mouse ray updates every frame

#

it's internally required for some things like clickdetector and ui

#

(surfacegui ui)