Search Forums

(Advanced Search)

Latest Threads
Broken scripts with updat...
Forum: Obi Rope
Last Post: hariedo
6 hours ago
» Replies: 0
» Views: 15
Garment explodes on Andro...
Forum: Obi Cloth
Last Post: CptnFabulous
19-12-2024, 07:16 AM
» Replies: 4
» Views: 658
Calculating and Reproduci...
Forum: Obi Fluid
Last Post: ZacharyP
18-12-2024, 05:49 PM
» Replies: 2
» Views: 757
Null Reference, actor not...
Forum: Obi Rope
Last Post: josemendez
13-12-2024, 12:39 PM
» Replies: 1
» Views: 137
Issue with Grasping ObiRo...
Forum: Obi Rope
Last Post: josemendez
12-12-2024, 12:00 PM
» Replies: 5
» Views: 418
Changing extruded rendere...
Forum: Obi Rope
Last Post: aderae
10-12-2024, 07:35 PM
» Replies: 2
» Views: 218
Baking a rope is causing ...
Forum: Obi Rope
Last Post: josemendez
10-12-2024, 11:06 AM
» Replies: 6
» Views: 623
Barrier belt - changing l...
Forum: Obi Rope
Last Post: josemendez
10-12-2024, 10:42 AM
» Replies: 1
» Views: 199
Path editor gizmo's appea...
Forum: Obi Rope
Last Post: josemendez
10-12-2024, 09:50 AM
» Replies: 1
» Views: 193
Problems when using multi...
Forum: Obi Cloth
Last Post: Cat3Man
09-12-2024, 03:17 AM
» Replies: 2
» Views: 268

 
  Is it possible to tween between softbody and fluid?
Posted by: bobby - 01-12-2024, 10:06 PM - Forum: Obi Softbody - Replies (1)

Is there any property that can be tweaked to make softbody behave more/less like a fluid?

I would like the ability for a substance to become jelly-like or liquid-like or somewhere in between at runtime.

Also, is it possible for 2 softbodies to merge together when they get close to each other?

Print this item

  Baking a rope is causing unity crashes (unity 6.0.29f)
Posted by: gnovos - 01-12-2024, 11:31 AM - Forum: Obi Rope - Replies (6)

I'm either doing something completely wrong, or else running into a editor-crashing bug.

Let me start by stating my goal in case I'm completely barking up the wrong tree.  What I want is to have an ObiRope swing for a few seconds, then freeze it into place and then use it as just a standard mesh from that point on.  The way I'm trying to solve this is code like this:

Code:
    public void BakeRope()
    {
        if (ToBake.actor.isLoaded)
        {
            var system = ToBake.actor.solver.GetRenderSystem<ObiRopeExtrudedRenderer>() as ObiExtrudedRopeRenderSystem;

            if (system != null)
            {
                var mesh = new Mesh();
                system.BakeMesh(ToBake, ref mesh, true);
                Rope.enabled = false;
                ToBake.enabled = false;
                Filter.sharedMesh = mesh;
            }
        }
    }

This *sometimes* works.  But it often simply crashes the editor (and a similar crash in a full build).

The relevant part of the crash output looks like this:
Code:
0x00000243F7763DAB (Mono JIT Code) UnityEngine.Mesh:SetSubMesh (int,UnityEngine.Rendering.SubMeshDescriptor,UnityEngine.Rendering.MeshUpdateFlags)
0x0000024250625E13 (Mono JIT Code) Obi.ProceduralRenderBatch`1<Obi.ProceduralRopeVertex>:BakeMesh (int,int,int,int,UnityEngine.Matrix4x4,UnityEngine.Mesh&,bool)
0x00000242506252AB (Mono JIT Code) Obi.ObiExtrudedRopeRenderSystem:BakeMesh (Obi.ObiRopeExtrudedRenderer,UnityEngine.Mesh&,bool)


My question is basically, is this a bug or is there some more proper way to lock a rope's mesh into place and stop the obrirope calculations on demand?

Print this item

  How to Make Obi Cloth Stiff and Heavy
Posted by: vrvr02109 - 29-11-2024, 10:02 AM - Forum: Obi Cloth - Replies (3)

I have a question about setting the physical properties of Obi Cloth. I’ve already set the blueprint to an existing cloth sheet. (Here is a screenshot of the current settings I’ve applied to Obi Cloth. Please refer to it for context.)

I want this Obi Cloth to look stiff (not stretchy) (1), not easily blown by the wind, and appear slightly heavy (2), but it doesn’t seem to work as I expected. Below are the constraint settings I’ve considered. 
Please let me know if any adjustments are needed.

  1. (For stiffness, no stretching): Adjusting distance constraints and tether constraints.
  2. (For heaviness, not easily blown by wind): Disabling aerodynamics and volume.
Currently, I’m only adjusting the constraints. 

Are there any additional factors I should consider to make the Obi Cloth appear stiff and slightly heavy?



Attached Files Thumbnail(s)
   
Print this item

  How to grab obi cloth in XRI?
Posted by: vrvr02109 - 29-11-2024, 09:46 AM - Forum: Obi Cloth - Replies (3)

I am using Unity 2022.3.8f1 and Obi Cloth version 7.0. In my project, I am working with XRI version 3.0 and want to grab Obi Cloth in VR using XRI.
I have found a script called ObiContactGrabber.cs, and I added a Sphere Collider and Obi Collider component to the Left Hand.

To achieve a natural grabbing interaction with Obi Cloth using XRI, should I write an additional script to make ObiContactGrabber.cs work? Or is there a specific way to integrate Obi Cloth with XRI for grabbing interactions?

Print this item

  Matching up particles with vertices in 7.X
Posted by: CptnFabulous - 29-11-2024, 05:43 AM - Forum: Obi Cloth - Replies (2)

I recently updated the version of Obi Cloth from 6.5.4 to 7.0.3. I checked some of the differences between Obi Cloth 7.X and 6.X:
https://obi.virtualmethodstudio.com/manu...ading.html

One thing mentioned is that “…blueprints may now decimate/simplify the input mesh and generate particles at positions other than the cloth vertices…”. This would result in a discrepancy between the vertices in the mesh and the particles in the cloth.

We currently have some code that procedurally generates cloth shapes, then procedurally stitches them together at certain edges. Upon further inspection, I found that the particle index list used for stitching is calculated based off the mesh’s vertex indices, rather than calculating them after the particles are generated.

This method was fine with the previous version of the package, as the vertices and particles would always match up 1:1. But now they don’t, so this sometimes causes the cloth to glitch out violently when the procedural stitching code is run.

With this new system, how can I find the cloth particles that correspond with a given set of mesh vertices, or vice versa, so I can accurately determine at runtime what particles need to be stitched together?

Or will I have to recalculate whatever criteria is used to obtain the correct vertices, but on the particles instead after they’ve been generated?

Thanks!

Print this item

  Fluid crawling up a slanted collider (v6.5.4)
Posted by: Tobias - 27-11-2024, 02:45 AM - Forum: Obi Fluid - Replies (2)

We have a really weird problem with fluid crawling up the side of a slanted collider. Everything works well as long as the sides of our containers are upright, but as soon as they are slanted, this happens:


.png   Unity_2024-11-27 02.11.00.133.png (Size: 14.85 KB / Downloads: 13)

An even weirder detail is that if I deactivate and reactivate the whole thing (Rigidbody, Collider, Emitter and all) via the Unity editor while it's still running, it starts to crawl up on the right side instead:


.png   Unity_2024-11-27 02.11.35.387.png (Size: 14.79 KB / Downloads: 13)

Print this item

  Hdrp pipeline/shader
Posted by: seenotevil92 - 24-11-2024, 10:41 PM - Forum: Obi Fluid - Replies (1)

Hello.
Does "Obi fluid" support HDRP pipline?
The documentation (https://obi.virtualmethodstudio.com/manu...ering.html) says that

Quote:The included opaque material works in all render pipelines, provided that you add your pipeline as a target in ShaderGraph. The transparent one works in both the built-in pipeline and URP, however HDRP has much better transparent/refractive shading capabilities out of the box so you should use a custom transparent shader in HDRP. For information on how to write a custom shader, see Custom fluid shaders at the end of this page.

Print this item

  Bug when increasing rope's length in RopeGrapplingHook Scene
Posted by: JeanLaigri - 18-11-2024, 10:13 PM - Forum: Obi Rope - Replies (2)

Hi there, I’ve encountered an issue in my project related to rope behavior, and while troubleshooting, I tested it in the RopeGrapplingHook example scene provided with the package. This scene is similar to what I’m trying to achieve, and I noticed that the same issue occurs there as well. 

Here’s the problem: 

When increasing the length of the rope beyond a certain value, the rope becomes completely rigid, behaving like a solid object rather than a flexible rope. 

To help illustrate, I’ve recorded a video demonstrating the issue. I tested this in a fresh Universal 3D Project using Unity 6000.0.23f1, with the package imported via the Package Manager. 

Video

Does anyone have any insights or suggestions on why this is happening and how to fix it? 

Thank you in advance!

Print this item

  Is Obi Rope compatible with Unity 6 LTS?
Posted by: FadelMS - 18-11-2024, 04:01 PM - Forum: Obi Rope - Replies (7)

Is Obi Rope compatible with Unity 6 LTS?

Print this item

  Particle Attachment Break Didn't work in GPU Mode
Posted by: calvantsang - 17-11-2024, 06:55 PM - Forum: Obi Cloth - Replies (2)

Particle Attachment break threshold didn't work in GPU Mode, I have some test, turn out if only set the break threshold smaller that 0(like -1) will break immediately, even set to 0 I still can't brake in anyway.
but work very well in Burst(Cpu), which is weird, my best guest is some pin Batch value didn't update in real time to check if need to break, hope it help somebody else facing same problem.
Thanks for you guys always being amazing!

Print this item