≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Homing bullet?
Posted by:
(you are not logged in)
Enter the missing letter in: "I?ternational"
(you are not logged in)
Text:
[quote][b][/b] wrote: I made a homing missile for my game (with no coding). It was pretty easy to do; here's the basics of how I got it working..... I added a [b] game character [/b] behaviour to the missile and the enemies. When the missile is fired, I used: [b] every few seconds (50ms), move towards node [/b] action (to move the missile to the targeted enemy), I also added a [b] turn towards [/b] event (to make the missile always point at the target). I attached an [b] on proximity [/b] event to the missile (to make it explode when the missile is close to the enemy). I added a [b] particle effect [/b] to make a rocket-trail. Don't use the [b] Shoot [/b] action to fire your bullet - because it will override anything movemtns you try to make with the homing bullet and will force it to fly in a straight line instead. [img] https://i.postimg.cc/W4N1tbgS/missile.gif [/img][/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact