29-01-2019, 03:16 PM
Would you tell me how to set up collision in the latest version of obi cloth? I want you to make video for that.
Help colliders for obi cloth
|
29-01-2019, 03:16 PM
Would you tell me how to set up collision in the latest version of obi cloth? I want you to make video for that.
29-01-2019, 03:28 PM
30-01-2019, 12:57 AM
30-01-2019, 08:19 AM
(This post was last modified: 30-01-2019, 08:19 AM by josemendez.)
30-01-2019, 09:13 AM
(30-01-2019, 08:19 AM)josemendez Wrote: "Simply add an ObiCollider component to any existing collider". You added it to the cloth itself. You must add it to the plane, and it must be a separate object. An error happens. "The variable sharedMesh of ObiCloth has not been assigned. You probably need to assign the sharedMesh variable of the ObiCloth script in the inspector." ,but I cannot find out "sharedMesh", and the plane still is weird shape without any object to collide.
30-01-2019, 09:41 AM
(This post was last modified: 30-01-2019, 09:43 AM by josemendez.)
(30-01-2019, 09:13 AM)Richard Wrote: An error happens. "The variable sharedMesh of ObiCloth has not been assigned. You probably need to assign the sharedMesh variable of the ObiCloth script in the inspector." ,but I cannot find out "sharedMesh", and the plane still is weird shape without any object to collide. Hi there, The collider and the cloth must be different objects. You add a ObiCollider component to the collider (the thing you want the cloth to collide with), and a ObiCloth component to the cloth (the deformable mesh). The cloth itself does not need to have any collider component on it for collisions to work. Here, I recorded a video for you, where I set up a cloth from scratch then create a plane for it to collide with : |
« Next Oldest | Next Newest »
|