≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Robbo's path finding algorithm
Posted by:
(you are not logged in)
Enter the missing letter in: "Internation?l"
(you are not logged in)
Text:
[quote][b]Robbo[/b] wrote: You would need to code that yourself. The final path array is calculated for you so just get the node from the name, and its position then send your character to that position - its fairly simple. You can borrow existing code for this purpose if you like - either 'Just_in_case' free code or 'Svens' version all have the ability to move a player from one location to another. They both include player rotation also or you can use the CC API to do all of that bit easier with "ccbAICommand(alien, "moveto", PlayerPos);" There are other version floating around also... Every xxx ms check if the player has reached the next position and if so then move to the next position and so forth....[/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