Search Forums

(Advanced Search)

Latest Threads
Cloth has stretchy behavi...
Forum: Obi Cloth
Last Post: josemendez
1 hour ago
» Replies: 9
» Views: 45
Ladder made by Ropes (Rat...
Forum: Obi Rope
Last Post: josemendez
5 hours ago
» Replies: 5
» Views: 98
can you remove particles ...
Forum: Obi Softbody
Last Post: josemendez
Yesterday, 02:19 PM
» Replies: 1
» Views: 133
ObiRope Mesh Renderer
Forum: Obi Rope
Last Post: quent_1982
08-07-2025, 11:27 AM
» Replies: 4
» Views: 467
How to dynamically change...
Forum: Obi Rope
Last Post: quent_1982
08-07-2025, 06:34 AM
» Replies: 6
» Views: 636
Pipeline that bends
Forum: Obi Softbody
Last Post: josemendez
04-07-2025, 09:52 AM
» Replies: 13
» Views: 1,401
How to implement/sync Obi...
Forum: Obi Rope
Last Post: quent_1982
01-07-2025, 01:48 PM
» Replies: 2
» Views: 399
Collisions don't work con...
Forum: Obi Rope
Last Post: chenji
27-06-2025, 03:05 AM
» Replies: 3
» Views: 469
Force Zone apply differen...
Forum: Obi Rope
Last Post: chenji
26-06-2025, 11:41 AM
» Replies: 11
» Views: 1,300
Can I blend in and out of...
Forum: Obi Cloth
Last Post: josemendez
24-06-2025, 04:42 PM
» Replies: 3
» Views: 473

 
  Clamping rope length
Posted by: charlotte - 29-06-2022, 01:12 PM - Forum: Obi Rope - Replies (3)

Hi, is there any way to limit active rope length? I can acces the restlength but the rope can get longer than it. 
So is there any way that i can control how long the rope can get (from code) ?
I can see how long it gets from rope.CalculateLength, but i want to control it as well.

Print this item

  Performance on General Use Laptops
Posted by: Th3Punslinger - 27-06-2022, 12:18 PM - Forum: Obi Fluid - Replies (1)

Hi There,

I am working on developing a game intended for use on low end laptops (https://www.stonegroup.co.uk/stone-produ...-business/)- something you'd typically find in Universities, colleges etc. I understand fluid simulation is intensive, but how optimised can Obi Fluid be? 

An example of the type of project I am looking to make involves pouring liquid A from one container to another containing another liquid B, possibly making use of the "chemical reaction" aspect and changing the resulting liquid to a mixture AB: changing colour, viscosity etc.. 
Is this something that is possible on lower end hard ware in a 3D environment, or is the chemical reaction something that is mainly possible in the 2.5D style plane shown in the demo video as it would be quite intensive?

Just checking as I have limited funds for the project.

Print this item

  Obi fluid DllNotFound
Posted by: Harutyun - 24-06-2022, 10:14 PM - Forum: Obi Fluid - Replies (6)

Hi, I've imported both Obi fluid and Obi softbody and I got this error in my console

DllNotFoundException: libOni assembly:<unknown assembly> type:<unknown type> memberTristenull)
Obi.OniBackend.CreateSolver (Obi.ObiSolver solver, System.Int32 capacity) (at Assets/Obi/Scripts/Common/Backends/Oni/OniBackend.cs:17)
Obi.ObiSolver.Initialize () (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:851)
Obi.ObiSolver.AddActor (Obi.ObiActor actor) (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:1112)
Obi.ObiActor.AddToSolver () (at Assets/Obi/Scripts/Common/Actors/ObiActor.cs:348)
Obi.ObiActor.OnEnable () (at Assets/Obi/Scripts/Common/Actors/ObiActor.cs:323)

Print this item

  Softbody falls apart
Posted by: facaelectrica - 24-06-2022, 01:43 AM - Forum: Obi Softbody - Replies (12)

Not sure how to phrase it, some images to explain what I'm running into.

I've created a relatively simple shape:
   

Created a blueprint:
   

But no matter what I do, even copying the values you've added to your objects when I run the game, it just falls flat (next to your example ball):
   

Why doesn't it stay more solid? What values should I be looking at?


And some additional questions about the workflow:

1) I don't quite get the advantages behind doing smaller or bigger particles besides having a more precise shape and what I assume are more expensive calculations.
Do they affect the properties of the object? I read this paragraph but there aren't examples or anything precise about how it translates to practical examples:

Higher resolution leads to more particles and clusters being generated, making it more difficult to keep their shape. So given the same solver settings, high-resolution softbodies will be softer than low-resolution ones.

2) What is the advantage between voxels or vertices when creating the blueprint? In my situation, I'm trying to get an object with an inner pocket to work as a softbody, so should I use vertices? I can still get some precision with voxels and increased resolution, is it preferable to go that way?

3) From what I understood, once the particles are generated, they will get connected (blue lines) between each other. Is there a way to control that level of connection? The ObiSoftBodySkinner has a "Skinning Max Distance", is that what it does? And if so, how can I visualize it?


4)Is it possible to visualize how the blueprint is being skinned in relation to the object(s) in the viewport?

Print this item

  Where is stretching settings?!
Posted by: dorktoast - 22-06-2022, 07:10 PM - Forum: General - Replies (1)

I have an Obi Rope attached to a rigidbody. The rope follows the rigidbody no matter the distance. I want the rope to hang, and have the object there hanging from the rope.

Searches through the documentation and this forum keep referring to "stretching settings". I cannot find these settings.

Increasing substeps also does not fix this, and also causes massive frame drops.

Please help.

Print this item

Sorprendido Obi Bone twisted but bones are straight
Posted by: MoonglowStudio - 22-06-2022, 02:58 PM - Forum: Obi Rope - Replies (2)

Hello,
When I put an ObiBone component on this snake model (21 bones), most of the bones are twisted by a certain degree, giving weird behavior (see white lines).
What's strange is that it wasn't the case before, and that all the bones have 0 degrees rotation in all axes in the base pose, and at start... Then the Animator starts a "Rolled" static animation which just curls the snake around the branch.
Can't figure out what is causing this.

   
   

Otherwise it's working very well, I get snake like movement when I adjust the Collision Materials.

Hope you can help, it's for a good cause (snake phobia exposition therapy).

Print this item

  Obi rope not working in Unity 2021.3.0f1
Posted by: superdev - 22-06-2022, 02:54 PM - Forum: Obi Rope - Replies (2)

I am trying to use Obi rope in Unity 2021.3.0f1 ( MacBook Pro (13-inch, M1, 2020) chip Apple M1 )

its showing the following errors -- >

 1.  DllNotFoundException: libOni assembly:<unknown assembly> type:<unknown type> memberTristenull)
    Obi.OniBackend.CreateSolver (Obi.ObiSolver solver, System.Int32 capacity) (at Assets/Obi/Scripts/Common/Backends/Oni/OniBackend.cs:17)
    Obi.ObiSolver.Initialize () (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:851)
    Obi.ObiSolver.AddActor (Obi.ObiActor actor) (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:1112)
    Obi.ObiActor.AddToSolver () (at Assets/Obi/Scripts/Common/Actors/ObiActor.cs:348)
    Obi.ObiActor.OnEnable () (at Assets/Obi/Scripts/Common/Actors/ObiActor.cs:323)  

2.  DllNotFoundException: libOni assembly:<unknown assembly> type:<unknown type> memberTristenull)

    Obi.OniColliderWorld.SetColliders (Obi.ObiNativeColliderShapeList shapes, Obi.ObiNativeAabbList bounds, Obi.ObiNativeAffineTransformList     transforms, System.Int32 count) (at Assets/Obi/Scripts/Common/Backends/Oni/OniColliderWorld.cs:40)
    Obi.ObiColliderWorld.UpdateWorld (System.Single deltaTime) (at Assets/Obi/Scripts/Common/Collisions/ObiColliderWorld.cs:388)
    Obi.ObiUpdater.BeginStep (System.Single stepDeltaTime) (at Assets/Obi/Scripts/Common/Updaters/ObiUpdater.cs:56)
    Obi.ObiFixedUpdater.FixedUpdate () (at Assets/Obi/Scripts/Common/Updaters/ObiFixedUpdater.cs:46)

I also tried following solution -->

    The dll library it cannot find (because it’s not compatible with the M1 architecture) is just a fallback in case you haven’t installed the required Burst  packages. Moreover, this fallback library is deprecated in will be removed in Obi 7.Make sure you’ve installed the Burst dependencies as per the manual:

Tried the following setup -->

     [color=rgba(var(--sk_highlight,18,100,163),1)]http://obi.virtualmethodstudio.com/manual/6.3/backends.html#burst[/color]

In the above setup I am not getting the option of

    JOBS -> Leaks detection -> Off

Print this item

  Request for softwheel/tire demo or tuorial
Posted by: khos85 - 21-06-2022, 11:42 PM - Forum: Obi Softbody - Replies (3)

Hi, I would like to ask if you can consider creating a tutorial on this, I am specifically interested in wheel mesh that will use the obi softbody on low poly  wheel mesh, car/vehicle will use normal unity controller type. It is only the wheels that I would like to behave like softbody. Can I ask you to advise or guide me on this request please?

Print this item

  What is the proper way to add distance constraint?
Posted by: snowtv - 21-06-2022, 03:06 PM - Forum: Obi Cloth - Replies (1)

I've only able to find example for adding pin constraint, and before I do anything dumb myself, I'd like to get an example for adding distance constraint through script.

Is it as simple as adding two indices for the pair of particles in the new distance constraint to the batch array and mark the constraint type as dirty?

When I look into the Tear() method it looks like I also need to apply some properties to the new constraint, but there seem to be other things going on which I'm not sure if it's only for the reconstruction after the tearing operation...

Print this item

  sample scenes fail to build
Posted by: jpc2tao - 21-06-2022, 01:23 PM - Forum: Obi Fluid - Replies (2)

I opened an empty 3D project and imported packages Burst, Collections, Mathematics then Obi Fluid 6.4 as suggested.
The sample scenes run without issue in Game mode, but fails to build. I get the following Error: 

Shader error in 'Obi/URP/Particles': Couldn't open include file 'Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl'. at Assets/Obi/Resources/ObiMaterials/URP/ObiLightingURP.cginc(3)

I included the whole log in the attachment. The specific scene I am trying to build is MultiPhaseFluidBuoyancy, although all other scenes are having similar build problems.

Unity Version 2021.3.7f1
Obi Version 6.4
Burst 1.6.6
Collections 1.3.1
Mathematics 1.2.6
Jobs 0.51.0-preview.32

Print this item