- Home /
Cloth Component - Detect Object Colliders and add to Cloth Colliders
I'm mainly a 3D Artist (some programming) and in the game I'm working on I am re-creating this object:
http://www.funplanners.com/wp-content/uploads/2013/01/Carnival-Game-Down-the-Clown.jpg
I was planning on re-creating the hair/fur as a mesh and applying the Cloth component to it. The problem I have is I am using multiple objects of different sizes, shapes, and colliders that will be interacting with the GameObject.
Two questions: 1. Is this the best way to go about this with the Cloth component? Opinions are welcome! 2. The current Cloth component has you manually add the colliders. Is there a way to use scripting to automate this? For example, using OnCollisionEnter, Finding by the same Tag, or some other method? I found a forum thread that has a script where it somewhat automates this but still only uses CapsuleColliders (https://forum.unity.com/threads/cloth-dont-interact-with-prefabs-gameobjects.410381/#post-3361934)
Any help you can provide is greatly appreciated!
Thank you!
Your answer
Follow this Question
Related Questions
add collider to cloth component in run time via script 1 Answer
How do I add a box collider to a cloth? 2 Answers
Script not recognizing collision 3 Answers
Help with getting script of another player 0 Answers
Falling object on collision 0 Answers