- Home /
Attach an object to the mouse cursor?
How would I attach an object to the mouse courser(so that when the player moves the mouse, the object also moves)?
Comment
Can you edit your post to include more info? 2-d or 3-d? Should the object match the mouse position exactly, or move towards the mouse position gradually? What type of object is it?
Sorry bout that. The game takes place on a 2D plane (ZX) and the object should match the mouse position exactly and I was thinking that the object would just be an empty object (that I could attach a particle effect or crossair decal to).