Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Collider Problem
#1
The collider is large for the object.How can I fix?


Attached Files Thumbnail(s)
   
Reply
#2
(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.
Reply
#3
(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.
Reply
#4
(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/manua...setup.html

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

kind regards,
Reply