- Home /
How to make object fallow the mouse ??
Hi guys i would like to know how to make a cube fallow my mouse. I only want it to fallow the up and down movements nothing else, something like in FPS games like when you look up the Gun and arm fallow something like that :)
thanks in advance :)
Comment
Answer by Cutecrap · Mar 24, 2011 at 06:54 AM
First of all u have to create new prefab including Cube and FpsMovement from standard assets. Cube must be child of FpsMovement. that's all
Your answer
![](https://koobas.hobune.stream/wayback/20220613114534im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Move towards mouse position on button down (2D)? 1 Answer
UnityScript How to Detect Movement from FPS Controller 0 Answers
How to control an object with a mouse? 1 Answer
Move to mouse position 1 Answer
A node in a childnode? 1 Answer