Latest Threads |
Garment explodes on Andro...
Forum: Obi Cloth
Last Post: josemendez
05-11-2024, 11:44 AM
» Replies: 3
» Views: 193
|
Foam Rendering suggestion...
Forum: Obi Fluid
Last Post: spikebor
05-11-2024, 10:11 AM
» Replies: 4
» Views: 398
|
The objects within the tw...
Forum: Obi Cloth
Last Post: ziziza93
05-11-2024, 05:08 AM
» Replies: 2
» Views: 258
|
Unity 6 Console Spam abou...
Forum: Obi Fluid
Last Post: josemendez
04-11-2024, 12:48 PM
» Replies: 1
» Views: 103
|
Fluid are always Opaque
Forum: Obi Fluid
Last Post: josemendez
04-11-2024, 08:51 AM
» Replies: 1
» Views: 266
|
does not render correctly...
Forum: Obi Fluid
Last Post: josemendez
31-10-2024, 12:52 PM
» Replies: 3
» Views: 717
|
Cloth grab with skinned m...
Forum: Obi Cloth
Last Post: josemendez
31-10-2024, 08:55 AM
» Replies: 1
» Views: 208
|
Extend Rope on Stretch
Forum: Obi Rope
Last Post: josemendez
30-10-2024, 08:53 AM
» Replies: 1
» Views: 178
|
Garment explodes on Andro...
Forum: Obi Cloth
Last Post: CptnFabulous
28-10-2024, 11:14 AM
» Replies: 0
» Views: 150
|
Can I attach particeattac...
Forum: Obi Cloth
Last Post: gahyun11
28-10-2024, 03:43 AM
» Replies: 28
» Views: 3,570
|
|
|
Foam (ADVECTION) --> working with CPU / GPU particles |
Posted by: danik9 - 09-08-2024, 04:09 PM - Forum: Obi Fluid
- Replies (1)
|
|
Hello.
I want to use the Compute Backend but using the (now deprecated?) particle advection script.
My idea was to use the Mud Bun plugin's particles, which use the old particle system of unity, to make those particles follow with advection the Obi compute backend particles.
It's probably impossible but It may be useful for plp who has that same question. Using CPU particles was really useful as it has tons of uses and behaviours.
On the other hand I think support for the new VFX GPU particles would be really useful for creating custom effects aside from Foam.
|
|
|
Custom fluid shaders --> Amplify |
Posted by: danik9 - 09-08-2024, 03:59 PM - Forum: Obi Fluid
- Replies (2)
|
|
Hi, I would like to request adding support for Amplify Shader Editor for OBI 7 Compute backend
GetIndirectVertex
I would need that node to do funny things, like adding support to this shader:
https://assetstore.unity.com/packages/to...ref=reddit
I put that as an example because I wanted to try the effect this week but it uses Amplify as many others, although It will probably bring problems with the tesselation and stuff I can't imagine...
Let me know your thoughts.
Cheers.
|
|
|
Unity physics interaction on v7.0 |
Posted by: goosejordan - 09-08-2024, 10:12 AM - Forum: Obi Rope
- Replies (4)
|
|
Hi! I'm trying to simulate rope climbing equipment in a VR environment. It involves a LOT of interaction between Unity physics and Obi particles.
This is an older video of what I'm doing using ObiRope 6
I made a custom attachment system that can feed the rope forward and backwards with friction. The rope needs to be high resolution so there are a lot of pin transforms involved.
I got the physics to work pretty nicely but I ran into a performance ceiling.
I thought I would try the GPU accelerated backend on the beta and sure enough performance is vastly improved! Great work on that improvement! And thanks a lot, that will be important for my game.
However, I'm experiencing some drawbacks. Right away it feels like the rope has much more inertia like it is very heavy or damped. The syncing with Unity physics seems to be different and lags after the object it is pinned to. Or it may be the rididbodies lagging after the rope...
I see there is an option for sync or async but switching that only lowered my framerate.
What is my best option here? Would updating Unity physics on Update instead of FixedUpdate help? Or would it be cleaner to try and model the equipment and hands purely as particles and constraints and position the object onto the particles representing it?
Oh, just realized that 7.0 is out of beta. I should try updating but how much can that affect?
|
|
|
Stripping obi rope |
Posted by: Ferhat123 - 08-08-2024, 01:39 PM - Forum: Obi Rope
- Replies (4)
|
|
Hi,
I want to achieve the goal shown in the video above. The first thing I want to do is strip the rope. Is it possible to do this with Obi Rope? If so, how can I achieve it?
Additionally, I want to make my rope behave like the cables in the video, but I need to be able to cut the ropes and bind them together.
Thanks for your help,
https://youtu.be/yo1vWmFQyIM?t=58
|
|
|
Using SDFs for collision |
Posted by: qlee01 - 07-08-2024, 05:05 PM - Forum: Obi Cloth
- Replies (4)
|
|
Hi,
now that Obi runs ion GPU I am coming back to this asset I bought long time ago. I also saw that Obi does support SDFs; however it seems only SDFs generated by Obi components, is this correct? I am already using SDFs generated by Mesh-to-SDF by Unity (which basically stores SDF in 3D Texture). Would be great if this could be used as collision provider by Obi, as this also allows having SDF of deforming meshes (e.g. SMR).
|
|
|
Resetting Rope causing Error |
Posted by: vrtraining - 06-08-2024, 06:33 PM - Forum: Obi Rope
- Replies (10)
|
|
Hi,
This is my old code that I got from this forum to reset the rope back to its original state.
Code: float initialLength = 0.88f
ObiRopeCursor ropeCursor;
ObiRope rope;
public void ResetRope()
{
rope.RemoveFromSolver();
rope.ClearState();
rope.AddToSolver();
ropeCursor.ChangeLength(initialLength);
}
Now since the new update has changed the ChangeLength() method my new code becomes.
Code: public void ResetRope()
{
rope.RemoveFromSolver();
rope.ClearState();
rope.AddToSolver();
ropeCursor.ChangeLength(initialLength - rope.restLength);
}
But its causing error, rope disappears and I get
Code: ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <bae5e84a08394aad9eb61062d3ccb3ca>:0)
Obi.ObiPathSmootherRenderSystem.Setup () (at Assets/Obi/Scripts/RopeAndRod/Rendering/ObiPathSmootherRenderSystem.cs:163)
Obi.ObiRenderSystemStack.Setup (System.Int32 dirtyFlags) (at Assets/Obi/Scripts/Common/Solver/ObiRenderSystemStack.cs:27)
Obi.ObiSolver.Render (System.Single unsimulatedTime) (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:1784)
Obi.ObiSolver.LateUpdate () (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:1163)
If I remove
Code: rope.RemoveFromSolver();
rope.ClearState();
rope.AddToSolver();
Then error goes away but I dont get starting initial state like before
|
|
|
Strange Behaviour in Editor for V7 |
Posted by: vrtraining - 06-08-2024, 04:42 PM - Forum: Obi Rope
- Replies (2)
|
|
Hi,
I upgraded to Version 7 and I have noticed something strange in editor, whenever I select in play mode runtime inside editor the object of Obi Rope, it instantly reflects and rope does some movement. Like for example if an object is hanging by rope its oscillates a little up an down. Similarly I have also noticed that when scene is started the same object oscillates up and down a lot more than before (I kept the parameters same like in version 6), why change in behaviour? It oscillates for about 2 seconds whereas before it was just 0.1 second.
|
|
|
New Obi Rope Chain Renderer URP version 7 |
Posted by: vrtraining - 06-08-2024, 08:48 AM - Forum: Obi Rope
- Replies (2)
|
|
Hi,
I'm unable to get any visuals of the chain in New Obi Rope Chain Renderer in URP. Even the sample demo that came with the project only works with Built-In pipeline, it does not work in URP even I don't see any pink shader for the chain, when I upgrade its materials to URP I still don't see any chain, not even a pink error shader. Its just blank. I have tried everything including GPU Instancing. I'm on Android Platform for Quest 2. Using Unity 2023.2.19f.
Step to reproduce
Create a new URP Project (2023.2.19f)
Import OBI version 7
Open Chains Demo from OBI
(upgrade pink shaders to URP)
|
|
|
Obi7 | Fluid collision with skinned mesh |
Posted by: yunayuna64 - 06-08-2024, 04:06 AM - Forum: Obi Fluid
- Replies (11)
|
|
Hello.
Using Obi Softbody I could make the Obi Fluid particle to collide with a skinned mesh deformed by its bone transform.
I wonder if there is a way to implement fluid collision with such a deformed mesh without using Softbody.
Please tell me if there is a method.
Thanks.
|
|
|
|