Zed_Master Posted December 26, 2014 Share Posted December 26, 2014 hi ! i try to put a enemie ( the crowler ) i build the navmesh and i put the player in "Target" but the crowler don't move ! he run on the floor and if i attack him he stop his runing and attack me. How can i resolve that problem ? Thanks Quote Link to comment Share on other sites More sharing options...
Josh Posted December 26, 2014 Share Posted December 26, 2014 Tools > Build NavMesh will fix that. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Zed_Master Posted December 26, 2014 Author Share Posted December 26, 2014 i did that but nothing happen Quote Link to comment Share on other sites More sharing options...
Josh Posted December 26, 2014 Share Posted December 26, 2014 Did you drag the crawler model into the scene, or the prefab? THe model is just a dumb 3D model wth no script. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Zed_Master Posted December 26, 2014 Author Share Posted December 26, 2014 yes i drag it and for the script i put "MonsterAI.lua" Quote Link to comment Share on other sites More sharing options...
Josh Posted December 26, 2014 Share Posted December 26, 2014 There's a prefab that's already set up to work. This will set the physics mode to be a character controller, and it just automatically works. Look in the prefabs folder. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Zed_Master Posted December 27, 2014 Author Share Posted December 27, 2014 ok he move ! thanks ! now i have a new probleme he travel the map to come fight me but he do that all in moonwalk ! I have no idea why he did that does a skin of michael jackson exist for leadwerks ? Pretty cool to see that in game Quote Link to comment Share on other sites More sharing options...
dennis Posted December 27, 2014 Share Posted December 27, 2014 Hi there, did you setup your player's physics right? Quote Link to comment Share on other sites More sharing options...
Zed_Master Posted December 27, 2014 Author Share Posted December 27, 2014 yes i did ( see below ) player physic's : http://hpics.li/2ebb890 crawler physic's : http://hpics.li/4d4bd0e Quote Link to comment Share on other sites More sharing options...
Josh Posted December 27, 2014 Share Posted December 27, 2014 Once again, you do not need to set this all up yourself. A prefab already exists that has everything set up right. There is a setting for the character controller angle under the physics tabs. You can set this to 180 to reverse his direction, since this model is pointing backwards. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Zed_Master Posted December 27, 2014 Author Share Posted December 27, 2014 i don't renember i tryed to set it ^^ thanks ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.