Latest Threads |
Fluid ignores colliders o...
Forum: Obi Fluid
Last Post: josemendez
Today, 09:03 AM
» Replies: 2
» Views: 38
|
Particle attachments dont...
Forum: Obi Rope
Last Post: josemendez
13-02-2025, 03:09 PM
» Replies: 1
» Views: 100
|
Dynamic attachment to fix...
Forum: Obi Rope
Last Post: josemendez
12-02-2025, 02:52 PM
» Replies: 9
» Views: 338
|
Changing rope lenth creat...
Forum: Obi Rope
Last Post: josemendez
11-02-2025, 08:35 PM
» Replies: 3
» Views: 179
|
Preventing fabric from vi...
Forum: Obi Cloth
Last Post: josemendez
10-02-2025, 12:36 PM
» Replies: 1
» Views: 125
|
Trouble with Attachments
Forum: Obi Softbody
Last Post: beegon
07-02-2025, 08:29 PM
» Replies: 3
» Views: 229
|
Mesh creating
Forum: Obi Rope
Last Post: alicecatalano
07-02-2025, 11:28 AM
» Replies: 13
» Views: 22,499
|
Collider interactions
Forum: Obi Softbody
Last Post: josemendez
07-02-2025, 09:42 AM
» Replies: 1
» Views: 158
|
RuntimeRopeGenerator basi...
Forum: Obi Rope
Last Post: ayoci
04-02-2025, 04:30 PM
» Replies: 0
» Views: 1,545
|
static 2nd attachment cau...
Forum: Obi Rope
Last Post: josemendez
04-02-2025, 07:53 AM
» Replies: 1
» Views: 197
|
|
|
Exceptions on scale 0 Obi rope |
Posted by: bobby - 19-02-2021, 04:03 PM - Forum: Obi Rope
- Replies (1)
|
 |
Hello Obi,
when I tween the obi solver size to 0, I get a lot of exceptions. is there any way to remove them? I tried setting solver.enabled to false, but then when I deactivate the solver gameobject, i still get exceptions "Assertion failed on expression: 'ValidTRS()'
It doesn't affect the gameplay, it's just that exceptions appear in the console.
|
|
|
get position of particles |
Posted by: orestissar - 19-02-2021, 10:44 AM - Forum: Obi Cloth
- Replies (6)
|
 |
Hello,
I'm trying to retrieve the particle positions of 2 Obi Cloth Objectives.
In my scenario, i just created 2 flags with obi cloth blueprints. The two flags are on the same solver but in different world positions.
Code: ObiCloth cloth1 = Flag1.GetComponent<ObiCloth>();
ObiCloth cloth2 = Flag2.GetComponent<ObiCloth>();
cloth1 is assigned to the 1st Flag and cloth2 to the 2nd. All good so far (or at least i think so.)
However, when i use, for example:
Code: Debug.Log(cloth1.GetParticlePosition(0));
Debug.Log(cloth2.GetParticlePosition(0));
The result is exactly the same Vector3, despite the 2 flags being on different positions
No matter where i put the flags, the result is always the same.
Am i missing something? Any suggestions?
|
|
|
Wind Demo Frames Drop |
Posted by: StudioTatsu - 15-02-2021, 06:37 PM - Forum: Obi Cloth
- Replies (2)
|
 |
In the Wind demo, using Burst Backend, it drops to 1-2 frames per second.
Oni backend works fine. No issues.
Tested in 2020.2.4f1, Obi 6.0
Heavy garbage collection coming from CreateConstraintsBatch.
|
|
|
Cloudiness at Obi Fluid 6.0 |
Posted by: asimofu_ok - 13-02-2021, 05:06 PM - Forum: Obi Fluid
- Replies (2)
|
 |
Hi, I updated Obi Fluid from 5.3 to 6.0.
And I'm surprising at Fluid Renderer parameters.
However, new Obi Fluid can use no longer the cloudiness of DielectricFluid material?
It was useful for white liquid or black background.
Additive blending is difference to cloudiness...
I think it is best that Absorption option can be used for white color.
|
|
|
Solver Error |
Posted by: Xanduffy - 13-02-2021, 03:49 PM - Forum: Obi Rope
- Replies (2)
|
 |
Figured I'd begin a new thread as this isn't strictly related to the grabbing issue Jose helped me with recently. I woke up this morning to the following console error:
Code: ArgumentNullException: Value cannot be null.
Parameter name: key
System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) (at <9577ac7a62ef43179789031239ba8798>:0)
System.Collections.Generic.Dictionary`2[TKey,TValue].TryGetValue (TKey key, TValue& value) (at <9577ac7a62ef43179789031239ba8798>:0)
Obi.ObiTriangleMeshContainer.GetOrCreateTriangleMesh (UnityEngine.Mesh source) (at Assets/Plugins/Obi/Scripts/Common/Collisions/ObiTriangleMeshContainer.cs:78)
Obi.ObiColliderWorld.GetOrCreateTriangleMesh (UnityEngine.Mesh mesh) (at Assets/Plugins/Obi/Scripts/Common/Collisions/ObiColliderWorld.cs:229)
Obi.ObiMeshShapeTracker.UpdateIfNeeded () (at Assets/Plugins/Obi/Scripts/Common/Collisions/ColliderTrackers/Trackers3D/ObiMeshShapeTracker.cs:38)
Obi.ObiColliderBase.UpdateIfNeeded () (at Assets/Plugins/Obi/Scripts/Common/Collisions/ObiColliderBase.cs:189)
Obi.ObiColliderWorld.UpdateWorld () (at Assets/Plugins/Obi/Scripts/Common/Collisions/ObiColliderWorld.cs:362)
Obi.ObiUpdater.BeginStep (System.Single stepDeltaTime) (at Assets/Plugins/Obi/Scripts/Common/Updaters/ObiUpdater.cs:40)
Obi.ObiFixedUpdater.FixedUpdate () (at Assets/Plugins/Obi/Scripts/Common/Updaters/ObiFixedUpdater.cs:54)
It's throwing from the solver that handles the grapple rope, but no changes were made to the rope recently, only to the grappling hook, and the particle attachment was redirected to that new model. The rope isn't simulating and it's preventing other scripts from executing, any ideas?
|
|
|
Multiple renderers in URP |
Posted by: corel - 13-02-2021, 04:31 AM - Forum: Obi Fluid
- Replies (4)
|
 |
Hi,
Is it possible to have multiple renderer passes in URP specific to separate emitters? I aim aiming to have distinct fluids in a scene with different refraction and blending modes, but I can't seem to find where to select specific emitters in the obi fluid renderer feature. I thought this was possible using the standard pipeline when the renderer script was attached to a camera, apologies if I've missed something obvious.
Cheers!
|
|
|
Getting actors from bodyA and bodyB in Obi 6.0? |
Posted by: MattS - 12-02-2021, 10:54 PM - Forum: Obi Softbody
- Replies (6)
|
 |
Hi!
I've updated to Obi 6.0 and replaced contact.particle with contact.bodyA and contact.other with contact.bodyB, but when I collide 2 actors now, after the first collision or so none of the contacts are the 2 actors involved in the contact; most are null.
Code: public void OnSoftParticleCollision(object sender, Obi.ObiSolver.ObiCollisionEventArgs e)
{
foreach(var contact in e.contacts)
{
if(contact.distance<0.01f)
{
var thisActor = m_solver.particleToActor[contact.bodyA]; // often null
var otherActor = m_solver.particleToActor[contact.bodyB]; // often null
...
world.colliderHandles doesn't seem to be right either. I was wondering, what is the correct way to get the 2 actors involved in a softbody/softbody collision now?
Thanks!
Matt
|
|
|
|