- Home /
Tag Player in VRTK
Im working on a first person controller VR game by using VRTK. But i cant find where to tag the Player in VRTK in order to use it (for example to detect player is in collision with a trigger ex: if (col.gameObject.tag == "Player") . I tagged literally everything as player in vain.. i think i still have only a couple of hair left on my head!!
If anyone can help i will really appreciate it (and the what's left of hair on my head as well)
Krystelle
Answer by krystelle4 · May 13, 2018 at 04:13 PM
Finally problem solved! In order to be able to tag your player, you have to make a custom body collider and add them to the bodyPhysics and then you tag that Body Collider Object !
Thank you krystelle4 for the post! I'm also facing the same problem and your answer is somehow helping. If possible I would also like to ask, when you make the body collider what's the hight for the collider? Because after I added a collider with 1 height my character almost looks like a giant. Thank you very much! Best regards!
Your answer
Follow this Question
Related Questions
Do a collider only with certain taged objects 2 Answers
Ignore Collision with Tag Error. 1 Answer
Trigger not detecting tag 1 Answer
Ignore collision on tag not working 2 Answers
OnTriggerEnter Collision 1 Answer