Search Forums

(Advanced Search)

Latest Threads
How to dynamically change...
Forum: Obi Rope
Last Post: quent_1982
04-07-2025, 11:29 AM
» Replies: 2
» Views: 85
Pipeline that bends
Forum: Obi Softbody
Last Post: josemendez
04-07-2025, 09:52 AM
» Replies: 13
» Views: 774
How to implement/sync Obi...
Forum: Obi Rope
Last Post: quent_1982
01-07-2025, 01:48 PM
» Replies: 2
» Views: 176
Collisions don't work con...
Forum: Obi Rope
Last Post: chenji
27-06-2025, 03:05 AM
» Replies: 3
» Views: 249
Force Zone apply differen...
Forum: Obi Rope
Last Post: chenji
26-06-2025, 11:41 AM
» Replies: 11
» Views: 720
Can I blend in and out of...
Forum: Obi Cloth
Last Post: josemendez
24-06-2025, 04:42 PM
» Replies: 3
» Views: 236
Using a rigidbody/collide...
Forum: Obi Cloth
Last Post: josemendez
24-06-2025, 09:29 AM
» Replies: 1
» Views: 140
Solver is too performance...
Forum: Obi Rope
Last Post: quent_1982
20-06-2025, 08:09 AM
» Replies: 40
» Views: 4,204
Obi 7 Model Scaling
Forum: Obi Cloth
Last Post: alkis
19-06-2025, 02:37 PM
» Replies: 2
» Views: 252
Obi Softbody instability?
Forum: Obi Softbody
Last Post: Aroosh
18-06-2025, 06:35 PM
» Replies: 0
» Views: 133

 
  Crash Related to CustomEmitterShape
Posted by: nonnamed - 25-05-2025, 05:01 AM - Forum: Obi Fluid - Replies (1)

I would like to report a crash issue that I discovered with a specific setting.
If this has already been reported or explained elsewhere, I apologize in advance.
When creating a CustomEmitterShape, if an EmitPoint added to the distribution has a direction of Vector2.zero, a crash occurs in the Compute BackEnd.
However, it runs correctly in the Burst BackEnd.
Please note that I am not confident in English, so I used ChatGPT to help write this message.

Print this item

  Rope disappears when camera is close
Posted by: Paul1 - 21-05-2025, 12:30 PM - Forum: Obi Rope - Replies (7)

Hi,
I am having issues with rendering a rope. When i get closer with the camera, the rope disappears. This only happens in a specific scene, on a specific solver. I duplicated solver values, so that is not a problem. This worked for me before updating to a newer version, now I am on version 7. I am creating the rope in runtime, here is the code:

Code:
obiRope = EditingObject.GetComponent<ObiRope>();
var blueprint = ScriptableObject.CreateInstance<ObiRopeBlueprint>();
int filter = ObiUtils.MakeFilter(ObiUtils.CollideWithEverything, 0);
blueprint.path.Clear();
blueprint.path.AddControlPoint(Vector3.left, new Vector3(-.3f, 0), new Vector3(.3f, 0), Vector3.zero, 0.1f, 0.1f, .1f, filter, Color.white, "start");
blueprint.path.AddControlPoint(Vector3.right, new Vector3(-.3f, 0), new Vector3(.3f, 0), Vector3.zero, 0.1f, 0.1f, .1f, filter, Color.white, "end");
blueprint.path.FlushEvents();
obiRope.ropeBlueprint = blueprint;
For every change I do to the rope (changing the path, adding control points), I call:
Code:
obiRope.path.FlushEvents();
StartCoroutine(obiRope.blueprint.Generate());
yield return new WaitForSecondsRealtime(1f);
obiRope.ResetParticles();
   
Video: https://drive.google.com/file/d/1lB2xcWD...sp=sharing
If you need anything else, please, tell me. I've been stuck on this problem for quite some time and can't seem to find a solution.
Thanks in advance!

Print this item

Pregunta Collisions do not happens properly with object's mass lower than 0.7
Posted by: quent_1982 - 17-05-2025, 02:12 PM - Forum: Obi Rope - Replies (2)

I have a chain and player with active ragdoll that based on configurable joints. Each of player's limb have mass ~0.25kg and next hierarchy:

----LimbWithJoint (Joint, Rigidbody and ObiRigidbody)
--------Limb'sCollider (Convex MeshCollider with ObiCollider)

(Core mass is in the root of player's rigidbody and equals 3kg)

So, when collision is happened between limb and chain there is almost no push effect, limb is just going through the chain. The collisions start working only if mass of limb is greater than ~0.7kg and they are not perfect.

Mass of each point in ObiPathEditor is 0.25kg, ObiRope mass is 1kg, surface and self collisions are turned off.



Attached Files Thumbnail(s)
       
Print this item

Pregunta ObiCloth going through collider
Posted by: Andreia Mendes - 14-05-2025, 05:39 PM - Forum: Obi Cloth - Replies (1)

Hello, I've started to explore Obicloth a few months ago, and I'm really impressed with what it does, and the very handy wiki! I've run into a bit of a wall however.

I have a swimsuit model resting on a manequin, with an attached Obicloth component. When hitting play, I'd expect the swimsuit to hang onto the surface of the mesh collider, settling there, however it seems to collapse inside the collider, and falls off through the bottom.

   
   
   
   

I did some investigation, and first checked if my ObiCollider was working, so i set up a square plane as a cloth (made in blender to have more vertexes). It is working and colliding with the model as expected, however, when released from above the manequin, a few frames after colliding with the head, the head starts to poke through the cloth, and eventually the whole cloth passes through the manequin when it should be resting on top of it.

   

Looking into the wiki, i have tried the following:

*Increase and reduce the number of particles (as well as try other bigger/smaller particle sizes) in the blueprint.
*Add more collision iterations and substeps to the ObiSolver (up to 16 for both, rip my pc)
*Enable surface collisions

Note: I'm aware of ObiSkinnedCloth, however i want a true simulation of cloth physics instead of following the mesh for my use case.

Any help would be greatly apreciated, thanks!

Print this item

Pregunta Unstable chain attachment
Posted by: quent_1982 - 13-05-2025, 03:18 PM - Forum: Obi Rope - Replies (13)

Hello, I have a chain with attached lamp to it. All hierarchy and settings below in screenshots.

Default chain with dynamic attachment to lamp works and swings well and not breaks away from the chain. But after I want to grab the lamp by using unity joints on it and just lift on the lamp or swing with player, chain starts breaking away from the lamp like in screenshot. Mass ratios between player(~5kg), lamp(1.5kg) and chain(1 kg in Obi rope script and 0.25kg on each of 3 points in Path Editor) is satisfied the condition 1 : 10. I've already tried to play with some settings, including solver iterations and anchor on joints, but it did not helped. 

Thanks. 



Attached Files Thumbnail(s)
               

.jpg   7.jpg (Size: 2.06 KB / Downloads: 12)
Print this item

  Shaking problem when collision
Posted by: webmagic - 13-05-2025, 10:57 AM - Forum: Obi Softbody - Replies (6)

Hi Obi,

for example , I have a ObiSoft body obj A (with Kinematic for particle set) 
and then,  I use another CUBE with Obi Collider to touch the obj A, the obj A keeps shaking 
what I want is just the obj A shape changed like Jelly (the soft body!!) , 
but it keeps shaking so fast. 

What can I do ?

Thanks

Print this item

  Obi Softbody IndexOutOfRangeException in a job
Posted by: Aroosh - 09-05-2025, 02:19 PM - Forum: Obi Softbody - Replies (2)

Hello

I get an Index out of range exception when I use softbody with particles with inverse mass set to 0.
I'll attach the screenshot with this thread.
P.S: Need to make sure safety checks in jobs is on to see this error.

Print this item

  the Obi cloth has some compressive resistance
Posted by: MakeLifeEasier - 08-05-2025, 08:09 AM - Forum: Obi Cloth - Replies (3)

Hi Sir,
I have a question I would like to ask. I believe the Obi cloth has some compressive resistance, but I would prefer it to have sufficient flexibility. When dragging one corner inward, I do not want it to move the entire net, as shown in (https://flightpoint1.oss-cn-beijing.aliy...-51-21.gif). Some parameter settings are shown in the attached picture. Could you please provide some suggestions for modifications?

Best wishes,
Chuang from China



Attached Files Thumbnail(s)
               
Print this item

Pregunta Rope pinned to two dynamic attachments has a gap when physics act upon it
Posted by: Crimson1462 - 05-05-2025, 07:34 PM - Forum: Obi Rope - Replies (2)

Hi! I'm new to Obi Rope and just wanted to say—it's a fantastic asset. I really appreciate the craftsmanship behind it.

I think I'm running into a user error and could use some help troubleshooting. I’ve attached three images below, in addition, here is a link to a video of the problem.

Each of the plugs in my setup are Obi Rigidbodies connected to the rope using dynamic attachments. I believe I’ve set up the constraints correctly for my use case, and I’ve experimented with different iteration and substep values.

I’ve also tested different mass settings—for example, setting the rope and rigidbodies both to 0.1, or the rope at 0.1 and the rigidbodies at 1.0, and vice versa—but the issue still occurs.

Here’s what I’m hoping to figure out:

  1. Is there a way to prevent these gaps from forming when the rope is pulled forcefully?
  2. If the gaps are unavoidable due to physics constraints, is there a way to reset the rope when it’s stretched beyond a certain threshold?
Ultimately, I’m trying to simulate a stiff, non-stretchable wire. Ideally, users shouldn’t be able to stretch it at all or see any slack.

Thanks so much in advance!



Attached Files Thumbnail(s)
           
Print this item

  Hard crash in build after upgrading from Obi 6 to Obi 7
Posted by: goldfire - 02-05-2025, 07:31 PM - Forum: Obi Rope - Replies (2)

I'm not really sure where to even start debugging this as there's no issue in the editor (or the editor just handles it less strictly, but no error that I've seen). It doesn't happen 100% of the time either, but sometimes when testing a build as soon as the scene with the obi rope loads the whole application crashes with this stack trace:

SIGTRAP

Obi.BurstColliderWorld:UpdateWorld(Single)
Obi.ObiColliderWorld:UpdateWorld(Single)

[ line 1794985864]
> Size overflow in allocator.

It's not from one specific rope either, it happens seemingly randomly with any rope implementation anywhere in the game. This only started happening after upgrading from Obi 6 to Obi 7.0.5. I followed the upgrade guide with re-generating the blueprints, etc. We're using the Burst back-end for the ropes as we need collisions on the ropes and I couldn't figure out if there was a way to make that work with the GPU-based backend, so I haven't tested the GPU one in a build.

Any idea what could be causing this or how I could debug further?

Unity Version: 2022.3.57 (built-in renderer)

Print this item