Search Forums

(Advanced Search)

Latest Threads
Changing the rope's posit...
Forum: Obi Rope
Last Post: Crystalius
7 hours ago
» Replies: 3
» Views: 47
RESET Obi Softbody
Forum: Obi Softbody
Last Post: spikebor
10 hours ago
» Replies: 11
» Views: 2,768
Obi7 | Fluid granular can...
Forum: Obi Fluid
Last Post: spikebor
Yesterday, 06:17 PM
» Replies: 0
» Views: 45
Bigger foam with Alpha di...
Forum: Obi Fluid
Last Post: spikebor
Yesterday, 03:56 PM
» Replies: 10
» Views: 268
Can ObiBone work with Sof...
Forum: Obi Softbody
Last Post: spikebor
Yesterday, 03:36 PM
» Replies: 0
» Views: 24
(7.0) Still confused abou...
Forum: General
Last Post: kodra
07-05-2024, 03:13 PM
» Replies: 4
» Views: 95
question of the ObiRope l...
Forum: Obi Rope
Last Post: rinrin
07-05-2024, 02:33 PM
» Replies: 0
» Views: 87
Obi7 | I made a pool
Forum: Obi Fluid
Last Post: josemendez
07-05-2024, 02:03 PM
» Replies: 5
» Views: 167
Frequent crash after assi...
Forum: Obi Fluid
Last Post: spikebor
07-05-2024, 11:33 AM
» Replies: 2
» Views: 79
[FIXED] Dispose of atomic...
Forum: Obi Cloth
Last Post: imtzo
06-05-2024, 08:28 PM
» Replies: 11
» Views: 2,345

 
  Recycle particles that dropped out of bound
Posted by: kodra - 11-04-2024, 03:30 PM - Forum: Obi Fluid - Replies (1)

It seems that the only way to control a fluid particle is via "Lifespan" parameter. I think it would be convenient if there is an option to provide a bounding box and all the particles go outside are recycled.

Print this item

  Use obi rope to generate player lines
Posted by: Jack Li - 11-04-2024, 02:48 PM - Forum: Obi Rope - Replies (3)

I am currently working on a small fishing game using Obi Rope and seeking some advice. Inspired by the RopeGrapplingHook, I'm creating a rope based on the player's lines. My approach involves continuously altering 'cursorMu' between 0.1 and 0.9, along with adjusting 'ChangeLength', to achieve consistent contraction of the rope from both ends. However, I'm encountering a significant challenge: the rope vibrates intensely and behaves unpredictably during generation. I've used a custom outline from a sprite to create a mesh collider. I need to reel in the fish slowly, just like it's shown in the video. If I don't, the fish ends up slipping through the collider of the rope.Could anyone offer insights or suggestions on how to optimize and address this issue?

Thanks in advance for your help!

here is my game video:

Print this item

  (7.0) Compute backend seems to freeze the whole Unity editor occassionally
Posted by: kodra - 11-04-2024, 02:26 PM - Forum: General - Replies (7)

I tried to Compute backend, and my Unity editor started freezing occasionally when I got into Play mode. When it happens the GPU usage is at 100% and there is no way to unfreeze it except killing the whole process.

Switching back to Burst seems to fix it.

It's quite hard to provide a set of steps to reproduce, since it only happens occasionally, but it's a bad enough to make Compute completely unusable for me.

It happens even with a minimum project:

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

Print this item

  Problem with softbody and complex character with submeshes
Posted by: JohnOrzone - 11-04-2024, 11:09 AM - Forum: Obi Softbody - Replies (5)

Hi


I am having trouble rigging my character that has a bunch of submeshes(internal organs in this case). I manage to get other simpler meshes to work properly with softbody but something is breaking when I do it with my complex character.




Going by the "Elastic character" tutorial does not really apply as the elastic character only has one main mesh.




I will provide some screenshots. I have the default ObiSolver component on the "FemaleBody" Object. This is a medical app btw.

Print this item

  How to make slow, steady flow
Posted by: kodra - 11-04-2024, 06:07 AM - Forum: Obi Fluid - Replies (4)

It seems that decreasing speed doesn't just make the flow slower, but also makes it discontinuous:

Speed = 1:

   

Speed = 0.5:

   

Any tip on how to make slow but steady and continuous stream?

Print this item

  What's the "Generate" button on fluid blueprint for?
Posted by: kodra - 11-04-2024, 04:31 AM - Forum: Obi Fluid - Replies (2)

I'm a bit confused about what this "Generate" button is for. It seems the changes on parameters take effect without using this button. When do I need to press it?

Print this item

  Volume constraint and softbody?
Posted by: kodra - 11-04-2024, 04:12 AM - Forum: Obi Softbody - Replies (1)

The volume constraint's document is a little bit of confusing to me:


Quote:Volume constraints can be used to simulate some sort of softbody physics, though they are not suitable for very stiff softbodies. Volume constraints are better suited for very soft, blobby bodies like a partially deflated beach ball and, in the case of cloth, they require the cloth mesh to be closed (that is, no holes on it).


It says "in the case of cloth...", but as far as I know only ObiCloth supports volume constraints? Or ObiSoftbody can use volume constraints too and I just missed it?

Print this item

  How do I make an Obi Fluid liquid translucent?
Posted by: KBTIT_ - 10-04-2024, 04:20 PM - Forum: Obi Fluid - Replies (2)

This question may not be related to obi.

How do I make an Obi Fluid liquid translucent?

Lowering the alpha of ParticleColor in ObiParticleRenderer will not change the appearance.
For example, if you want to make an appropriate 3D model translucent, create an appropriate material, set REnderingMode to Fade, and change the alpha of Color to translucent.

In the same way, we are seeking to change the Color setting to make it translucent.

Print this item

Lengua need sticky liquid
Posted by: KBTIT_ - 09-04-2024, 05:54 PM - Forum: Obi Fluid - Replies (1)

How can we describe a very sticky liquid, like oil?

For example, something that takes a very long time to fall when it hits a vertical wall.

First, I set Viscosity to 2, using this page as a reference.
http://obi.virtualmethodstudio.com/manua...rials.html

There was indeed a change, but it is still not enough.

Next, I changed the Gravity of the Buoyancy and Obi Solver so that it takes longer to fall.
These are fine if only a little, but changing them significantly can cause undesirable visual effects, such as slower falling speeds.


Therefore, I would like to know if there are any other parameters other than these that would affect the stickiness if changed.

Print this item

  Feature request: API to get the mesh from FluidMesher
Posted by: kodra - 09-04-2024, 02:48 AM - Forum: Obi Fluid - Replies (1)

My use case is that I'm working on my own custom fluid shader. The workflow is tedious: Press Play -> Wait for the simulation until the fluid gets to a certain shape I'd like to inspect the shader for -> Tweak the shader.

I figured that if I dump the mesh from BurstFluidMesherSystem as an Unity asset, it would make iterating on the shader much faster. So I added this API:

Code:
public List<Mesh> DumpMeshes_Editor()
{
        var meshes = new List<Mesh>();
        for (int i = 0; i < batchCount; i++)
        {
            var batch = batchList[i];
            meshes.Add(batch.mesh);
        }

        return meshes;
}
/// then save the mesh with AssetDatabase.CreateAsset...

It works. I kinda hope it's officially supported tho, cause 1. I don't know if it's the correct way to do it 2. It's not that easy for Compute backend as the mesh only lives in GPU (I suppose).

Print this item