Hi,
I view tutorial about AI navigation in here http://area.autodesk.com/learning/series/setting-up-basic-navigation-ai-in-stingray everything is done.
I have done to make a unit move from point A to point B when press space
But when i want Character in basic template automatic move from point A to point B when press space it not working.
How to do this?
Hi,
This is because in character template the character is controlled through the script which is written in Lua. So if you want to move character from A to B you need to modify in the script. Hope, I have answered your question.
Thank you
Hi swayamBH2GE
I know that character is controlled through the script which is written in player.lua and i was disable by UnitController:set_enabled = false in code before set Set NavBot Destination
Hi,
Can you attach the screenshots? I will be able to understand your problem properly
Thank you
I add two line in end of function player.lua/Player.update to disable
function Player.update(self, dt)
--some code ....
local walkcam_controller = UnitController.manager:get(self.land_character)
walkcam_controller:set_enabled(false)
end
this is my test project
press f2 to spawn land camera
press 1 to move unit
press 2 to move charater (not working)
press 3 to set charater pose
Can't find what you're looking for? Ask the community or share your knowledge.