Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  colliders for obi cloth
#6
(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 Sonrisa:
Reply


Messages In This Thread
colliders for obi cloth - by Richard - 29-01-2019, 03:16 PM
RE: colliders for obi cloth - by josemendez - 29-01-2019, 03:28 PM
RE: colliders for obi cloth - by Richard - 30-01-2019, 12:57 AM
RE: colliders for obi cloth - by josemendez - 30-01-2019, 08:19 AM
RE: colliders for obi cloth - by Richard - 30-01-2019, 09:13 AM
RE: colliders for obi cloth - by josemendez - 30-01-2019, 09:41 AM