Move the Character with Mouse, Point and Click — Unity Solution

Introduction

This solu­tion con­sists of a way to con­trol Stan­dard Assets' arti­fi­cial intel­li­gence pre­fab, Ethan, by click­ing on the stage.

By right click­ing the char­ac­ter will walk to the indi­cat­ed posi­tion and if dou­ble click­ing, the char­ac­ter will run to the indi­cat­ed position.

CHECK OUT THIS CRAZY EXPERIMENT

Download Unity Package

Mover al Per­son­aje Hacien­do Clic en el Esce­nario en Unity
Ver­sion: 1.0
Pub­lished: March 27, 2020

IMPORTANT

When import­ing the pack­age you must bake the Navmesh before enter­ing the game mode, oth­er­wise you will get an error and the char­ac­ter will not move. To do this we go to the GameOb­ject called "WalkA­r­eas" inside "Cas­tle" and in the "Nav Mesh Sur­face" com­po­nent we click on Bake.

YouTube
Scroll to Top
Secured By miniOrange