Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can I react to a thin object?
#1
Greetings, Every Users.

I Want to React to thin object(like Wire) and Obi Cloth Object.

but, Obi Cloth Object is not Working.

I need Help.

Thank you.
Reply
#2
(30-10-2017, 11:48 AM)nelluard Wrote: Greetings, Every Users.

I Want to React to thin object(like Wire) and Obi Cloth Object.

but, Obi Cloth Object is not Working.

I need Help.

Thank you.

Simulation in Obi is particle based. If your cloth mesh is not dense enough or if particles are too small, thin colliders will pass trough holes in the particle representation of the cloth.

Add a ObiParticleRenderer to your cloth object to visualize particles in play mode (see http://obi.virtualmethodstudio.com/tutor...ering.html). You can tweak particle radius with the particle editor. Also, you can increase the collider thickness by using ObiCollider's "thickness" parameter (see http://obi.virtualmethodstudio.com/tutor...sions.html)

A final word of advice: do not use MeshColliders unless absolutely necessary. They are less robust and much slower than primitive colliders. The shape you've shown in the screenshot can easily be approximated by a few capsule colliders.

cheers,
Reply
#3
(30-10-2017, 12:08 PM)josemendez Wrote: Simulation in Obi is particle based. If your cloth mesh is not dense enough or if particles are too small, thin colliders will pass trough holes in the particle representation of the cloth.

Add a ObiParticleRenderer to your cloth object to visualize particles in play mode (see http://obi.virtualmethodstudio.com/tutor...ering.html). You can tweak particle radius with the particle editor. Also, you can increase the collider thickness by using ObiCollider's "thickness" parameter (see http://obi.virtualmethodstudio.com/tutor...sions.html)

A final word of advice: do not use MeshColliders unless absolutely necessary. They are less robust and much slower than primitive colliders. The shape you've shown in the screenshot can easily be approximated by a few capsule colliders.

cheers,

Thank you for Reply.

Your comments are always very useful.

one more, Please help me.

When control object A that collision with ObI Cloth, (using C# Script)


Reaction to AddTorque() is performed. but does not reaction to moving to AddForce().

*Obi Cloth Object's Collider restricts movement of object A.
*Unfortunately, I use MeshCollider. because my ObI Cloth Object is a cylindrical object with a hole.

I want to Create an Obi Cloth object that responds to AddForce().

Thank you.
Reply
#4
I found a way to solve the problem!

ObI Collider seems to only apply to one Collider in the Component List.
Reply
#5
(01-11-2017, 09:00 AM)nelluard Wrote: I found a way to solve the problem!

ObI Collider seems to only apply to one Collider in the Component List.

Yes, it only picks up the first collider in the object. If you want to have multiple colliders for a single game object, you need to make a compound collider by parenting the additional colliders under the parent or "root" one.
Reply