Search Forums

(Advanced Search)

Latest Threads
Get separate particles pa...
Forum: Obi Fluid
Last Post: slimedev
Yesterday, 06:51 PM
» Replies: 6
» Views: 3,065
Solver outside of hierarc...
Forum: General
Last Post: Jawsarn
Yesterday, 06:19 PM
» Replies: 4
» Views: 67
Cloth has stretchy behavi...
Forum: Obi Cloth
Last Post: josemendez
Yesterday, 11:02 AM
» Replies: 21
» Views: 650
Rope ignoring colliders o...
Forum: Obi Rope
Last Post: josemendez
24-07-2025, 07:03 AM
» Replies: 1
» Views: 118
Ladder made by Ropes (Rat...
Forum: Obi Rope
Last Post: josemendez
23-07-2025, 01:43 PM
» Replies: 5
» Views: 284
can you remove particles ...
Forum: Obi Softbody
Last Post: josemendez
22-07-2025, 02:19 PM
» Replies: 1
» Views: 166
ObiRope Mesh Renderer
Forum: Obi Rope
Last Post: quent_1982
08-07-2025, 11:27 AM
» Replies: 4
» Views: 527
How to dynamically change...
Forum: Obi Rope
Last Post: quent_1982
08-07-2025, 06:34 AM
» Replies: 6
» Views: 743
Pipeline that bends
Forum: Obi Softbody
Last Post: josemendez
04-07-2025, 09:52 AM
» Replies: 13
» Views: 1,530
How to implement/sync Obi...
Forum: Obi Rope
Last Post: quent_1982
01-07-2025, 01:48 PM
» Replies: 2
» Views: 430

 
  Null Ref when opening blueprint.
Posted by: kjetil - 17-01-2023, 11:47 AM - Forum: Obi Cloth - Replies (5)

So, I am also not able to open a blueprint. I've tried reset layout, and I've tried replacing the blueprint cs file that was attached in another thread here. No luck with any of them.
I'm using 2021.3.5f1
And the obi cloth version should be the latest one on the asset store. Version 6.5.1

Any tips on how to fix this would be great, as it currently does not work. Thanks.


Kjetil

Red Thread Games

Print this item

  simulation not rendering in vr
Posted by: NicTimmermans - 13-01-2023, 05:28 PM - Forum: Obi Fluid - Replies (1)

we are making an application vor the oculus quest 2.

when i run the simulation in the editor the fluid renders fine but when i make a build and try it in vr the fluid doesn't show.
The partiles are emitted and behave as expected but they aren't visible.

we're using URP but even with the default pipeline we have this problem.

Any idea's on how to solve this?

Print this item

  non convex mesh collider
Posted by: ugurcamoglu35 - 13-01-2023, 12:38 PM - Forum: Obi Fluid - Replies (3)

hello everyone, 

You have a glass that we use non convex mesh. When we use Obi fluid, the liquid flows out of the glass. Our aim is to lift the glass with our hands when the liquid is filled in the glass. How we can solve this problem.

Print this item

  Jitter on scene load
Posted by: Moon_Hermit - 12-01-2023, 06:04 PM - Forum: Obi Softbody - Replies (2)

Hello 

I'm having an issue with Obi softbody where the camera will jitter when trying to follow the softbody player whenever I load into the scene from another using Unity's scene management system. At first, I thought this was just a Cinemachine issue but I found that the ExtrapolationCamera script from the Obstacle Course sample scene also has the same issue after loading the scene with the scene manager.

The Cinemachine and ExtrapolationCamera cameras both work as they should if I play the scene with it already open. I have also been tested and confirmed that this only applies to Obi softbodies and that this issue is present both for my own softbodies and softboies that came with the package such as the player controller from the Obstacle Course sample scene.

It seems that whatever is going on is tied somehow to Unity's scene management system but I'm at a complete loss. Any help would be greatly appreciated.

Thank you.

Print this item

  Softbody Stickness
Posted by: patriot4947 - 10-01-2023, 03:43 PM - Forum: Obi Softbody - Replies (5)

Hi, 

I have spinning cylinders. When my car comes over the spinning cylinders, I want the cylinders to throw my car to the other side. How can i do that?

   

Print this item

  Squeeze Softbody
Posted by: patriot4947 - 10-01-2023, 03:35 PM - Forum: Obi Softbody - Replies (7)

Hi,

I have 2 different scale car. I want the small one to pass between the rollers but I don't want the big one to pass. Unfortunately, both of them are passing. How can I do that?

   

   

Print this item

  RemoveConstraint error
Posted by: Seahorse - 10-01-2023, 09:49 AM - Forum: Obi Softbody - Replies (6)

version: 6.5

I tested the runtime delete Constraint,The m_IDs of solverBatch is empty. Why?
Error message:


ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

System.Collections.Generic.List`1[T].RemoveAt (System.Int32 index) (at <6073cf49ed704e958b8a66d540dea948>:0)
Obi.ObiConstraintsBatch.RemoveConstraint (System.Int32 constraintIndex) (at Assets/Obi/Scripts/Common/Blueprints/Constraints/Batches/ObiConstraintsBatch.cs:183)




Code:
        var dc = m_Actor.GetConstraintsByType(Oni.ConstraintType.ShapeMatching) as ObiConstraints<ObiShapeMatchingConstraintsBatch>;
        var sc = m_Actor.solver.GetConstraintsByType(Oni.ConstraintType.ShapeMatching) as ObiConstraints<ObiShapeMatchingConstraintsBatch>;

        for (int j = 0; j < dc.GetBatchCount(); j++)
        {
            var batch = dc.batches[j];
            var solverBatch = sc.batches[j];
            int offset = m_Actor.solverBatchOffsets[(int)Oni.ConstraintType.ShapeMatching][j];
            for (int i = 0; i < batch.activeConstraintCount; ++i)
            {
                for (int k = 0; k < batch.numIndices[i]; ++k)
                {
                    int p = batch.particleIndices[batch.firstIndex[i] + k];
                    int or = m_Actor.solverIndices[p];
                    Vector3 shapePos = m_Actor.solver.positions[or];
                    if (box.bounds.Contains(shapePos))
                    {
                       
                        solverBatch.RemoveConstraint(i);
                        //batch.RemoveConstraint(i);
                    }
                }

            }
        }
        m_Actor.SetConstraintsDirty(Oni.ConstraintType.ShapeMatching);
But no error was reported when I tried to delete the batch, and the deletion was successful.

Print this item

  Obi missing scripts and not working on import
Posted by: robert.nally - 07-01-2023, 04:46 PM - Forum: Obi Rope - Replies (1)

Hi,

I just imported Obi Rope into my project.  I also updated / imported the backend packages like the mathematics package, jobs packaged, burst package, etc.

When I go to a scene in the package to try out what's there I get missing script errors.  The current scene (picture attached) doesn't respond.

I'm on Unity 2019.4.40 with the built-in render pipeline.

Any idea what could be causing this issue?

Thanks,
Rob

Print this item

  Play 3D Softbody in 2D mode.
Posted by: patriot4947 - 05-01-2023, 09:50 AM - Forum: Obi Softbody - Replies (4)

Hi,

My main issue that playing 3d softbody in 2d mode but when i set 2d mode to obi solver,  3d mesh is broken like below images(a and b) and then i found this topic(http://obi.virtualmethodstudio.com/forum...-1488.html) and i am trying to add softbody to unity default 2d plane but I couldn't success like this video-> https://www.youtube.com/watch?v=jsT5JXExQ00

I shared my settings below so how can i make 2d softbody like that video->http://obi.virtualmethodstudio.com/forum...-1488.html

a-> 
   

b->
   

My current settings
       

Print this item

  How to count particles
Posted by: mustafagulsoy - 04-01-2023, 01:35 PM - Forum: Obi Fluid - Replies (4)

Hi Everbody,
I making a simulation and I need to count particles in a area, for example I set a cube trigger and calculate how much particle inside in this cube.
Is this possible on Obi ,and if it does, how can I do that Sonrisa

Print this item