|
Post by cansub on Jun 14, 2017 1:46:47 GMT
I am building out to a Hololense (using Vuforia) and I have placed a character in with the NPC Companion Controller and configured it like in the newest video. I placed the tag of my AR Camera as the Target and put it in the Target Layer. I've designated the AR Camera as the Companion. Upon starting the companion simply runs (not walks) around in tight circles. It does not move to or follow the AR Camera.
I've put a character standalone script on the AR Camera as well as a Rigidbody, Nav Mesh Obstacle and Capsule Collider. Nothing has made a difference. Anyone with any suggestions?
Thanks!
|
|
|
Post by Invector on Jun 14, 2017 15:10:39 GMT
Take a look into the Melee Mobile demo scene, we have a example for the companion there.
In the inspector, Tags to Detect is the object you want to chase in this case enemy, above there is Companion Tag: Player and on the MeleeManager there is HitDamage Tags (who you want to attack) so Enemy again.
|
|
|
Post by tharindu on Jun 15, 2017 1:41:52 GMT
I can second this. The idiot keeps on running around me.
|
|