≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Path finding
Posted by:
(you are not logged in)
Enter the missing letter in: "Internati?nal"
(you are not logged in)
Text:
[quote][b]VP[/b] wrote: Basically, we just need "Follow Path" as an action, rather than a behaviour. I read recently that Niko is working on this. Then we could switch between paths using variables and "If" statements. A workaround I use at the moment is to clone the same character (all with different paths and behaviours) then switch between the characters as and when required. For example: I have a non game-character model follow a path, then "on proximity" to the player, I switch (hide/unhide) an AI version of the same model who will follow/attack the player instead of the path. Then I use the "move AI" action to move the AI model back to the position of the path model, then switch (hide/unhide) the back to the "Follow Path" version of the model again. The result is a character which follows a path but then attacks the player when in range, then goes back to the path when the player is out of range. Using the "If variable $=?" and the "Move AI to position" commands, you can pretty much add as much variety in AI movement as you like, then switch between models by hiding/unhiding them - just use the "change position of a scene node" function so that they're always in the same place (when you hide/unhide the nodes) to make it seamless. *Obviously this is without any scripting and is a little complex so a script version would be neater/more efficient.[/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