Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 768 Bytes

README.md

File metadata and controls

19 lines (10 loc) · 768 Bytes

Unity_Character_Pathway

Character controller easy pathway drawing in editor.

1- Add this two script to your project. Make sure "PeopleControlSetButton.cs" placed in "Editor" folder.

2- Add "PedestrianControl.cs" to any character controller in the editor.

3- Move and place your character controller and press "Set initial position" on the inspector.

4- Move your character controller again to another position and press "Set position" on the inspector.

5- After setting positions adjust "Stop Timer","Speed" and "Seeking Distance" variables as you want.

Stop Timer : "Waiting time when character reaches a set position"

Speed : Movement speed

Seeking Distance : Seeks player in distance you set. If player close enough, character controller start to move.