Hi, I have been playing arround with Lerpz tutorial, and I have added new models for enemies, and I have a robot with a canon, I want it to shoot Lerptz instead of following him for melee. Anyone knows a script or can help me how to do it? 1,000 billion thanks in advance
Answer by GesterX
Apr 25, 2011 at 05:59 PM
See the second example here:
This type of code (or similar) is used to fire a bullet in most games.
Thanks, but there is a very weird effect on the script: Here you have a link on youtube about the effect, I have just recorded it : youtube.com/watch?v=b9xm_UZRqX0
It looks like you have Instantiate in a part of the script which is getting run very often. Either in the update or some other part
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 navigate the site 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
No one has followed this question yet.
The name 'Joystick' does not denote a valid type ('not found')
Error in script to make a monster shoot against the player
Get animation work
Setting Scroll View Width GUILayout
Lerpz Health Issue