Hello everyone, i like to know
1 : how my bullet shoot with mouse X,Y
2 : how I create a var to store the x,y data so my bullets won't always move with my mouse but only the axis when i click
3 : how to fire with hold click but set duration for bullets
4 : how to rotate the bullet
forgive me if there are post like this before and pls link it
What type of game are you making? FPS, 3rdPS, a shooting range? The answer depends on which type of game it is.
can you tell me the script of 3rdps & 2D.ps.We are still discussing...
Answer by orangeflame
Mar 30, 2013 at 05:11 AM
I'm trying to do the same thing. I found this tutorial for a top down shooter that may help.
This is a 2 years old question. It can be considered solved or abandoned.
opps I was looking to find out a similar thing and thought I would help. my mistake.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users post good questions and use the site effectively we have posted a user guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
Answers and Comments
2 People are following this question.
SideScrolling Mouse Pointer Aim - Help
Aiming With my mouse
Assets/Scripts/PlayerController.cs(32,49): error CS0126: An object of a type convertible to `float' is required for the return statement
Rotate a gameobject(player)on the y axis towards mouse position in c#
2D Platform Shooter Camera Controls C#