Search Forums

(Advanced Search)

Latest Threads
Collisions pass through m...
Forum: Obi Softbody
Last Post: TubbyCrumbles
18-10-2026, 03:21 PM
» Replies: 0
» Views: 80
2D URP Renderer
Forum: Obi Fluid
Last Post: josemendez
16-10-2026, 08:32 AM
» Replies: 1
» Views: 291
Obi 8 feature list
Forum: Announcements
Last Post: Qriva0
14-10-2026, 09:10 AM
» Replies: 5
» Views: 621
Null Reference exceptions...
Forum: Obi Cloth
Last Post: Qriva0
13-10-2026, 11:43 AM
» Replies: 1
» Views: 262
When To Add New Obi Solve...
Forum: Obi Rope
Last Post: Skotty
11-10-2026, 07:57 PM
» Replies: 0
» Views: 239
A Few Obi Collider Issues
Forum: Obi Rope
Last Post: Skotty
02-10-2026, 08:26 PM
» Replies: 17
» Views: 3,141
VR Meta Quest Lag issue
Forum: General
Last Post: kodkuce
01-10-2026, 10:25 AM
» Replies: 2
» Views: 503
Rope end caps
Forum: Obi Rope
Last Post: mechabit
28-09-2026, 12:20 PM
» Replies: 6
» Views: 1,301
[Obi Fluid 7] URP Fluid R...
Forum: Obi Fluid
Last Post: staroceanj9
24-09-2026, 07:47 PM
» Replies: 0
» Views: 421
Chains jitter when surfac...
Forum: Obi Rope
Last Post: josemendez
22-09-2026, 07:49 AM
» Replies: 8
» Views: 1,612

 
  NullReferenceException I do not touch
Posted by: Richard - 11-04-2019, 03:07 PM - Forum: Obi Cloth - No Replies

4 errors displayed.

NullReferenceException: Object reference not set to an instance of an object
Obi.ObiActor.PullDataFromSolver (Obi.ParticleData data) (at Assets/Obi/Scripts/Actors/ObiActor.cs:466)
Obi.ObiActor.OnDisable () (at Assets/Obi/Scripts/Actors/ObiActor.cs:214)
Obi.ObiClothBase.OnDisable () (at Assets/Obi/Scripts/Actors/ObiClothBase.cs:148)
Obi.ObiCloth.OnDisable () (at Assets/Obi/Scripts/Actors/ObiCloth.cs:138)

NullReferenceException: Object reference not set to an instance of an object
Obi.ObiActor.RemoveFromSolver (System.Object info) (at Assets/Obi/Scripts/Actors/ObiActor.cs:365)
Obi.ObiCloth.RemoveFromSolver (System.Object info) (at Assets/Obi/Scripts/Actors/ObiCloth.cs:224)
Obi.ObiActor.OnDestroy () (at Assets/Obi/Scripts/Actors/ObiActor.cs:167)
Obi.ObiClothBase.OnDestroy () (at Assets/Obi/Scripts/Actors/ObiClothBase.cs:207)

NullReferenceException: Object reference not set to an instance of an object
Obi.ObiActor.PullDataFromSolver (Obi.ParticleData data) (at Assets/Obi/Scripts/Actors/ObiActor.cs:466)
Obi.ObiActor.OnDisable () (at Assets/Obi/Scripts/Actors/ObiActor.cs:214)
Obi.ObiClothBase.OnDisable () (at Assets/Obi/Scripts/Actors/ObiClothBase.cs:148)
Obi.ObiCloth.OnDisable () (at Assets/Obi/Scripts/Actors/ObiCloth.cs:138)

NullReferenceException: Object reference not set to an instance of an object
Obi.ObiActor.RemoveFromSolver (System.Object info) (at Assets/Obi/Scripts/Actors/ObiActor.cs:365)
Obi.ObiCloth.RemoveFromSolver (System.Object info) (at Assets/Obi/Scripts/Actors/ObiCloth.cs:224)
Obi.ObiActor.OnDestroy () (at Assets/Obi/Scripts/Actors/ObiActor.cs:167)
Obi.ObiClothBase.OnDestroy () (at Assets/Obi/Scripts/Actors/ObiClothBase.cs:207)

Print this item

  ObiSolver goes missing on an ObiActor prefab
Posted by: hecali_aj - 11-04-2019, 12:45 PM - Forum: Obi Softbody - Replies (1)

Hello,

I have several objects which share the same ObiSolver.
They are all prefabs.
I drag them onto the scene and set their ObiSolver to the one I have on the scene.
On runtime, their ObiSolver becomes None.
Is there a way to set them on runtime?

Print this item

  Unity 2019.1
Posted by: kulcanhez - 11-04-2019, 12:21 AM - Forum: Obi Fluid - Replies (3)

Hello,

Since Unity 2019.1 is right around the corner I have some questions. I want to start working in a new game but I'm wondering if I should use 2019.1. How the new Unity Physics will affect Obi Fluid?

Thank you!

Print this item

  How to fix the collided particle
Posted by: apapaxionga - 10-04-2019, 11:43 PM - Forum: Obi Softbody - Replies (1)

I tried to set the collided particle's invmass to 0 but it explode the softbody.  I did it in the following way:

Code:
   void Solver_OnCollision(object sender, Obi.ObiSolver.ObiCollisionEventArgs e)
   {
       for (int i = 0; i < e.contacts.Count; ++i)
       {
           if (e.contacts.Data[i].distance < 0.001f)
           {
               Component collider;
               if (ObiCollider.idToCollider.TryGetValue(e.contacts.Data[i].other, out collider))
               {
                   solver.invMasses[e.contacts.Data[i].particle] = 0;
               }
           }
       }
   }

What is the correct way to achieve this ?

Print this item

  Rope used for Crane
Posted by: flamingo - 10-04-2019, 01:36 PM - Forum: Obi Rope - Replies (9)

Hello everyone Sonrisa
I am using Obi Rope for a crane simulation. However the rope doesn't react the way I want it to. I am using the lowest amount of particles which is 2. However we make it so we adjust the rope length, and every time I change the length, it adds particles and it looses the stiffness which makes the crane act weirdly because of the rope. Is there anyway I can make it so, it doesn't add more particles when I change the rope length via code? The attachment shows the way I have my ropes. and it's parameters.

Print this item

  Strange looking distance field
Posted by: bobby - 10-04-2019, 09:52 AM - Forum: Obi Cloth - Replies (3)

Hello Obi,

Sometimes when I generate distance fields, they look strange in the preview. Namely there are artefacts that are not close to the mesh. I checked in blender that the mesh does not have holes. Have you seen this before?

pic:

.png   Screen Shot 2019-04-10 at 4.50.05 PM.png (Size: 16.82 KB / Downloads: 19)

Print this item

  Obi Cloth + mesh collider tunneling with distance fields
Posted by: bobby - 10-04-2019, 08:13 AM - Forum: Obi Cloth - Replies (2)

Hello Obi,

I've been trying very hard to remove tunnelling effects on mesh collider with mediocre results.

The tunnelling is happening consistently for sharp objects or at sharp points of objects.

Things I've tried:

- increase cloth particle count. The cloth is a plane of about 3000 particles.
- reduce gravity
- use distance field. decreased max error
- increase obi solver distance iterations = 24, collision iterations = 17
- increase obi collider thickness

Here is a picture of the tunnelling on a chair mesh:

[attachment=328]

Any help would be greatly appreciated!


Here's a gif:

[Image: giphy.gif]

Print this item

Triste Character Cloth with Final IK (with GIFs)
Posted by: VrTech - 10-04-2019, 03:00 AM - Forum: Obi Cloth - Replies (8)

This is how it looks without obiCloth
The cloth weight is transferred from the rigged character as I followed from the TrenchCoat Example.

*Final IK + Grounder has been used

[Image: giphy.gif]

Once I attached the ObiCloth this happens.

[Image: giphy.gif]

This is how I set up based on your tutorial webpage

Obi Solver on the Character Root
Obi Cloth on the Skinned Mesh Object

*Player Object is a root

[Image: JnxT8mX.jpg]

[Image: xzJ9dEm.jpg]

Setting on the Animator on the root (Player) 

What I used
- Obi Slover
- Final IK FBBIK
- Grounder

[Image: 3oWDD0j.jpg]

This is the Script Execution Order

[Image: UI52Gne.jpg]

Please Help! I try to solve this problem for a week but I can't.
Thank you in advance!

Print this item

  Shading of Obi Cloth Proxy
Posted by: backerly - 09-04-2019, 02:04 PM - Forum: Obi Cloth - Replies (2)

Hello.
I did a simple test using Obi Cloth Proxy.
I chose a plane for source object and a sphere for target object.

Result

Deformation worked great as I had expected. But the shading of the deformed sphere was somewhat awkward (not smooth enough). It seems that something is wrong with normals.
Is there any way to fix this?

Thanks!

Print this item

  Make softbody really bouncy.
Posted by: hecali_aj - 09-04-2019, 01:11 PM - Forum: Obi Softbody - Replies (1)

Is there a way to make a softbody really bouncy? I'm trying to make a ball bounce on a softbody and I want the ball to not lose velocity when it hits the rigidbody.

Print this item