wiki.sine.space | sinespace

Difference between revisions of "Components/WanderingNPC"

From wiki.sine.space
Jump to: navigation, search
(Created page with "{{Template:Infobox |above=Wandering NPC |subheader=Component |image=400px |caption=Component's Inspector | label1 = Start Position | data1 = se...")
 
Line 25: Line 25:
  
 
'''Start and Target position''' Use this to set NPC to move to a custom location.  
 
'''Start and Target position''' Use this to set NPC to move to a custom location.  
 +
 
'''Wander''' Check this to move NPC to a wander randomly on set distance.  
 
'''Wander''' Check this to move NPC to a wander randomly on set distance.  
  

Revision as of 15:35, 23 September 2016


Wandering NPC
Component
400px

Component's Inspector

Start Position set the custom starting position of the NPC
Target Position Sets the target positon of the NPC
Wander sets the NPC to wander in random direction
Max Wander Distance Sets the maximum wandering distance
Rotation Speed sets the rotation speed of the NPC
Move Speed Sets the movement speed of the NPC


This component is used to get NPCs to wander/move from one location to another.

Refer Statue to see how to create NPC, once created attach wandering NPCs component to move them from one location to another.

Start and Target position Use this to set NPC to move to a custom location.

Wander Check this to move NPC to a wander randomly on set distance.