hello everybody. I want to do this: when I press the left button(on my mouse), the game object that represent the player will move in the position of the cursor. Can i do this? How? Thank's.
Apr 07 '10 at 04:27 PM
Have a look at this answer and this one.
Apr 07 '10 at 05:13 PM
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
Once you sign in you will be able to subscribe for any updates here
Answers and Comments
The best place to ask and answer questions about development with Unity. Check out our FAQ for more information.
To help users post good questions and use the site effectively we have posted a tutorial video. Please check it out.
asked: Apr 07 '10 at 04:27 PM
Seen: 1846 times
Last Updated: Apr 07 '10 at 04:27 PM
Detecting when a game object is clicked, when the mouse is held down, or enters or leaves a GameObject
Resize / Scale, Drag, Move a Plane at Runtime by Mouse action
Rotate a gameobject(player)on the y axis towards mouse position in c#
Tooltip when mousing over a game object?
Continually Updating position of Instantiated Object (to Mouse Pointer)
getting .Transform from instanntiated object
Assign mouse events for gameobject/collider at runtime
move Game Object(hand) with mouse movement
Camera movement question
click on a game object that script isn't attached to