- Home /
How to make a NPC?
How to make a NPC? I dont have skills.. Maybe have anybody a prefab....
The same way you make a PC, except you give it AI ins$$anonymous$$d of controlling it through input.
Answer by danilonishimura · Jan 23, 2013 at 06:30 PM
NPC is any character that the player doesn't control. If you have a character (model) on your scene that the player can't control, you have a NPC. What you want is to add some behaviour to those characters. You can start by creating a simple movement script. Make a simple cube move around each X seconds. There you go.
Answer by Vliegtuigfan · Jan 23, 2013 at 09:59 PM
Hm.. Thats a great Idea! I going to make it! Thanks everybody!
You'd just add a sphere collider and make it a trigger. When the player comes into that trigger, play the sound.
Answer by sholom1 · Mar 12, 2017 at 05:13 PM
im having trouble making my npc collide with the ground can someone help me with this?
Have you tried adding a collider to it? Or maybe a ridgitbody
These questions are not really meant for UnityAnswers, these are basic tutorial things. UA is for questions that don't already have hundreds of answers or dozens of tutorials about, or for someone stuck on a specific aspect. If you are unsure how to make an NPC, you aren't ready to be making an NPC.