x


On Lerpz game making shooting monster

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

more ▼

asked Apr 25, 2011 at 04:13 PM

Infinity gravatar image

Infinity
141 105 78 83

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

See the second example here: http://unity3d.com/support/documentation/ScriptReference/Object.Instantiate.html

This type of code (or similar) is used to fire a bullet in most games.

more ▼

answered Apr 25, 2011 at 05:59 PM

GesterX gravatar image

GesterX
2.3k 34 31 62

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

May 06, 2011 at 09:10 PM Infinity

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

May 07, 2011 at 06:54 PM GesterX
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x9228
x434
x136
x31

asked: Apr 25, 2011 at 04:13 PM

Seen: 1555 times

Last Updated: Apr 25, 2011 at 04:13 PM