Search Forums

(Advanced Search)

Latest Threads
Rope going through wall
Forum: Obi Rope
Last Post: josemendez
6 hours ago
» Replies: 5
» Views: 55
In SolidifyOnContact exsa...
Forum: Obi Fluid
Last Post: asimofu_ok
8 hours ago
» Replies: 5
» Views: 122
Change rod section at run...
Forum: Obi Rope
Last Post: matty337s
02-08-2025, 06:07 AM
» Replies: 0
» Views: 59
Sliding along a rope
Forum: Obi Rope
Last Post: vrt0r
01-08-2025, 07:43 PM
» Replies: 0
» Views: 46
Is it possible to render ...
Forum: Obi Fluid
Last Post: asimofu_ok
01-08-2025, 10:07 AM
» Replies: 2
» Views: 108
Cloth has stretchy behavi...
Forum: Obi Cloth
Last Post: Andreia Mendes
31-07-2025, 02:38 PM
» Replies: 22
» Views: 914
Get separate particles pa...
Forum: Obi Fluid
Last Post: slimedev
29-07-2025, 06:51 PM
» Replies: 6
» Views: 3,245
Solver outside of hierarc...
Forum: General
Last Post: Jawsarn
29-07-2025, 06:19 PM
» Replies: 4
» Views: 203
Rope ignoring colliders o...
Forum: Obi Rope
Last Post: josemendez
24-07-2025, 07:03 AM
» Replies: 1
» Views: 141
Ladder made by Ropes (Rat...
Forum: Obi Rope
Last Post: josemendez
23-07-2025, 01:43 PM
» Replies: 5
» Views: 338

 
  Obi Fluid renderer and World Space canvas
Posted by: Apoll0 - 30-10-2023, 04:58 PM - Forum: Obi Fluid - Replies (3)

Hello!

I am using Obi fluid and today noticed that it is rendered over my world space canvas object.
I've checked with renderer enabled and particles don't touch the object. Only obi fluid renderer draws over it.
Build-in pipline, Unity 2022.3.12

White disk in the attachment pic -- on world space canvas

   

Print this item

  Spikes while simulation saple scene CharacterCloth
Posted by: alexm - 30-10-2023, 10:09 AM - Forum: Obi Cloth - Replies (3)

Hello!

Just bought the asset and open sample scene CharacterCloth. Runing the game i see terrible spikes in simulation. Tried 2021 and 2022 LTS Unity versions.
   

There was no any changes in project settings. New empty project than imported Obi Cloth. The same bug in softbody sample scenes...

How to fix it?

Print this item

  Obi Smulation frame rate issues
Posted by: AfterSilence - 29-10-2023, 06:11 PM - Forum: General - Replies (1)

Hi,

I'm using Obi to develop a surgical simulation scene, but I'm having some issues with the frame rate. My scene has five objects with a total of 6700 particles, but the simulation frame rate is only 2-3 FPS. At the same time, both CPU and GPU usage are relatively low. 

There's also a strange phenomenon that when I open the Recorder (Recoder asset by Unity), my frame rate increases to 10 FPS. This is quite strange. Could you please let me know if I might have incorrectly set certain parameters, causing my computer's performance to not function properly?

Thanks for your help.

Here is my computer configuration (I think it is a quite good computer):
CPU: Intel Xeon 5220R CPU @ 2.20GHz * 2
GPU: NVIDIA GeForce RTX 4090
RAM: 512GB

Here is the FPS of my simulation:
Without Recoder:
   

With Recoder:
   

Print this item

  Obi Rope build error with Unity 2023.1 on APK Build for XR
Posted by: vrtraining - 25-10-2023, 09:49 AM - Forum: Obi Rope - Replies (6)

Hi,

We are successfully using OBI Rope with Unity 2022.3 LTS or our OpenXR Unity Project for Meta Quest 2. We upgraded to Unity 2023.1 and we couldn't generate the APK due to gradle build error. We tried everything and slowly started isolating our plugins one by one till we were able to produce the error only with OBI Rope Asset. It works well with 2022 Unity but if OBI Robe is present in the project, it does not generate the APK build for Quest 2.

We are using Unity builtin XR Plugin Management with OpenXR plugin.

Code:
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':unityLibrary:mergeReleaseNativeLibs'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.MergeNativeLibsTask$MergeNativeLibsTaskWorkAction
   > 2 files found with path 'lib/arm64-v8a/libc++_shared.so' from inputs:
      - /Users/username/23TestXR/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/build/intermediates/merged_jni_libs/release/out/arm64-v8a/libc++_shared.so
      - /Users/username/23TestXR/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/build/intermediates/cxx/RelWithDebInfo/3p2l6l3t/obj/arm64-v8a/libc++_shared.so
     If you are using jniLibs and CMake IMPORTED targets, see
     https://developer.android.com/r/tools/jniLibs-vs-imported-targets

We are investigating more and will share if we can isolate the problem but I have created a sample project that contains only OBI Rope plugin and an empty scene. In order to reproduce just Open the project in 2023.1 Unity and switch build platform to Android and try to Build the APK. We tested this on mac and its not generating the build. If we remove OBI Rope asset then it builds successfully.

https://drive.google.com/file/d/1er0W8T6...sp=sharing

Print this item

  Spatial queries
Posted by: CosmosST - 25-10-2023, 07:12 AM - Forum: Obi Fluid - Replies (2)

Hi,

I have two emitters parented by the same solver on the scene. Their particle systems are turned as I don't need it.  And I want to apply spatial queries to both of the emitters fluid particles. 

What is the best way for an efficient query on the both actors at the same time ? 
The obvious method is setting a for-loop on an actors solverIndices and make the query and open another for-loop for going through the results. But what is the better way if I would like to combine a query on both emitters ? Running a for-loop on each actor separately ?

Another question is; I see a a significant framerate drop when running a spatial query. Would it be an idea to use a compute shader for running a similar process ? 
Meaning that, sending the sover positions array to the compute shader on each update step and then getting the simplice proximity results from the compute shader. I have used compute shader for N-body gravitational system simulation and it has a similar nested for-loop obviously. 

thank you for your directions.

Print this item

  obi rope can collide with obi softbody or cloth?
Posted by: superbad714 - 23-10-2023, 10:50 AM - Forum: Obi Rope - Replies (5)

Is possiable that obi rope can collide with obi softbody or obi cloth?

Print this item

  mitigate surface-based collision jitter on flat surfaces
Posted by: jtriveri - 19-10-2023, 09:08 PM - Forum: Obi Rope - Replies (1)

I am using Obi-Rope for an educational WebGL app that needs to run on low-spec devices, so I am limited to using ropes with few particles and few constraint iterations.



The ropes are used for user-managed cables purely for visuals. I need a solution that can wrap around 3D objects, and Obi seems like the best choice for this.


   


Because I can't use many particles, I need to use surface-based collisions or else ropes will clip through and catch on objects. However, the ropes can also rest on a flat table surface, and they jitter on the table because particles can only create a single contact.

click on gif to see jittering
   

I have tried to use sleeping, but a sleeping threshold aggressive enough to stop the jitter also freezes particles that should clearly stay in motion. I also tried surface collision tolerance, but a value high enough to stop the jitter allows particles to clip through objects too much as if I were not using surface based collisions at all.



Is there any other technique I can use to mitigate jitter while preventing clipping without increasing the number of particles and constraint iterations? Thanks!

Print this item

  Dragging Particles Cause Too Much Pixelation
Posted by: Fisixus - 18-10-2023, 01:18 AM - Forum: Obi Softbody - Replies (6)

Hi,
I've been trying to figure this problem out for three months, and unfortunately, I'm still at the same place where I started.
I'll try to summarize what's my objective and my result:
My main soft-body object is a stomach. I created little sphere colliders in the place of obi particles. Then, I shoot a ray from my pulling device and find the picked particles. I assign these particle indices to my pulling device as a particle attachment group and prevent the other particles' movement(basically, I create another particle attachment and specify the particle group to a static position). When I do that, I have this mesh deformation problem. I see triangles and it doesn't look smooth. Here is an example picture:
   


Before you comment, I'd like to say that I've tried various techniques. I played all the parameters(Obi Softbody Skinner, Obi Solver, Shape matching constraints), tested different blueprint resolutions, and finally, tested with different mesh vertex counts. I also tried a combination of these solution techniques. But, the result was always similar to the picture.
Furthermore, I tested without limiting particle behavior(I assigned the picked-particle group to the pulling device but didn't limit other particles' movement). This time, the whole mesh was affected by the soft body, but my objective was to simulate a focused group of particles solely.
I'll share my current parameters with you here, I look forward to your help to cease or reduce the pixelation problem. I post extra information if you need it.

Current Parameters:
Obi Version: 6.4
Vertex Count of the Stomach: 32k
Softbody Skinner
Softbody Influence:0.7
Max Bones Per Vertex:28
Skinning Falloff:0.8
Skinning Max Distance:0.22
Shape Matching Constraints
Deformation resistance:0.207
Max Deformation:0.875
Plastic Yield: 100
Plastic Creep: 100
Plastic Recovery:500
   
   
   
   

Print this item

  Reset Rope Length without Physics
Posted by: vrtraining - 17-10-2023, 05:33 AM - Forum: Obi Rope - Replies (2)

We have developed a very detailed crane hook and rope system to lift and drop objects. Now there are some situations in our app where we want everything to reset that includes reseting the rope length, hook positions attached to ropes and other objects. Currently we reload Unity scene which is not effective. 

Now we are trying a full reset of the setup that includes resetting the rope lengths and the positions of their static and dynamic attachments particle points. When we try to reset the rope length instead of instantly going to initial length, it simulates the full physics of rope dragging the hook along with it. How we can disable physics and reset the whole length and setup back to its initial position.

Print this item

Pregunta How to Retrieve Contact Forces in Obisoftbody for Rigid-Softbody Collisions?
Posted by: AfterSilence - 15-10-2023, 05:25 AM - Forum: General - Replies (2)

Hello everyone,

I'm currently using the Obisoftbody component for simulations and I need to obtain contact force information when a rigid body collides with a soft body. Specifically, I'd like to access the force vector and torque during these collisions for further analysis and control purposes.

I've gone through the official documentation and examples, but I haven't found a clear explanation on how to achieve this within Obisoftbody. I know that Obisoftbody is a powerful tool, but it seems like I'm encountering some difficulties when it comes to retrieving contact forces.

If anyone has experience using the Obisoftbody component and knows how to obtain contact force information during rigid-soft body collisions, please share some guidance or provide example code. Your assistance would be greatly appreciated.

Thank you!

Print this item