Obi Official Forum
Collider Problem - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Softbody (https://obi.virtualmethodstudio.com/forum/forum-12.html)
+--- Thread: Collider Problem (/thread-3244.html)



Collider Problem - saltuksy - 22-12-2021

The collider is large for the object.How can I fix?


RE: Collider Problem - josemendez - 22-12-2021

(22-12-2021, 11:27 AM)saltuksy Wrote: The collider is large for the object.How can I fix?

Hi there!

This has nothing to do with Obi, colliders are built-in Unity components. Please refer to the Unity manual:

https://docs.unity3d.com/Manual/class-BoxCollider.html

To resize the collider, click the "Edit Collider" button and use the handles that appear in the scene view to resize it.


RE: Collider Problem - saltuksy - 22-12-2021

(22-12-2021, 11:37 AM)josemendez Wrote: Hi there!

This has nothing to do with Obi, colliders are built-in Unity components. Please refer to the Unity manual:

https://docs.unity3d.com/Manual/class-BoxCollider.html

To resize the collider, click the "Edit Collider" button and use the handles that appear in the scene view to resize it.
The problem I'm talking about is probably not collider related.I'm new to Obi but I'm good at Unity. I didn't add any colliders. I use Solver, it gives me a collider.As you can see in the picture, my object does not fill the white lines.But the obi acts as a collider on these white lines.


RE: Collider Problem - josemendez - 22-12-2021

(22-12-2021, 11:43 AM)saltuksy Wrote: I use Solver, it gives me a collider.As you can see in the picture, my object does not fill the white lines.But the obi acts as a collider on these white lines.



Hi!

The white lines are not a collider or related to collisions in any way. They're a gizmo that allows you to visualize the solver's bounds, that is, the smaller axis-aligned box that contains all particles used by your solver. Bounds are only used for camera culling.

Since Obi is a particle-based physics engine, objects in Obi are made of particles. You can see the particles that compose your object by adding a ObiParticleRenderer component to it. These particles are in charge of collision detection (Obi does not use colliders).

If you wish for particles to be smaller so that they fit your mesh shape tighter, go to your blueprint editor and reduce their radius. See:
http://obi.virtualmethodstudio.com/manual/6.3/softbodysetup.html

You could also use higher resolution when generating your blueprint to create more, smaller particles.

kind regards,