Search Forums

(Advanced Search)

Latest Threads
Stretching verts uniforml...
Forum: Obi Softbody
Last Post: josemendez
Yesterday, 04:32 PM
» Replies: 1
» Views: 172
Scripting rod forces
Forum: Obi Rope
Last Post: chenji
11-09-2025, 01:15 PM
» Replies: 25
» Views: 3,041
Burst error causing crash...
Forum: Obi Rope
Last Post: josemendez
10-09-2025, 07:03 AM
» Replies: 1
» Views: 266
Controlling speed of emit...
Forum: Obi Fluid
Last Post: josemendez
06-09-2025, 06:29 AM
» Replies: 1
» Views: 535
Looks nice on editor but ...
Forum: Obi Fluid
Last Post: josemendez
04-09-2025, 07:20 AM
» Replies: 3
» Views: 780
How to Shorten or Scale t...
Forum: Obi Rope
Last Post: josemendez
02-09-2025, 09:53 AM
» Replies: 5
» Views: 852
The Limitation of Using O...
Forum: Obi Rope
Last Post: josemendez
01-09-2025, 10:30 PM
» Replies: 1
» Views: 586
Bug Where a Straight Segm...
Forum: Obi Rope
Last Post: josemendez
01-09-2025, 08:46 PM
» Replies: 1
» Views: 552
Having an issue with obi ...
Forum: Obi Rope
Last Post: Ben_bionic
29-08-2025, 04:23 PM
» Replies: 4
» Views: 1,056
Non-uniform particle dist...
Forum: Obi Rope
Last Post: chenji
29-08-2025, 09:05 AM
» Replies: 4
» Views: 894

 
  Constant, Random Unity Freezing/Hanging Indefinitely
Posted by: slumberface - 08-04-2019, 09:57 AM - Forum: Obi Cloth - Replies (4)

I have a scene setup with 2 Obi Cloth objects that are simple flags blowing in the wind. These meshes have 72 vertices/particles, and have volume (they are not planes). These flags are pinned to a post with a obi collider, and a second invisible obi collider with a rigidbody acts as a collider to keep them from passing through the post (it is wider to compensate for there being so few vertices). They each have their own solver.

The performance is great, but I keep running into Unity freezing abruptly, both in editor and build. Sometimes the freeze happens very quickly, and sometimes it takes a long time, but it seems like if I let the simulation run long enough it will inevitably happen.

Any idea how I can go about troubleshooting this?
Unity Version 2018.3.5f1



Attached Files Thumbnail(s)
   
Print this item

  Mesh stuck into wall
Posted by: aphixe - 08-04-2019, 05:47 AM - Forum: Obi Softbody - Replies (2)

Any thing to combat meshes getting stuck into walls?

Print this item

  Not working 2018.3.11f1 just bought, new project[solved]
Posted by: aphixe - 07-04-2019, 10:43 PM - Forum: Obi Softbody - Replies (2)

Hello, I just bought this imported in a brand new Unity 2018.3.11f1 project. No other items imported. and i see a bunch of DllnotfoundException errors.



DllNotFoundException: libOni
Obi.ObiCollisionMaterial.OnValidate () (at Assets/Obi/Scripts/Collisions/ObiCollisionMaterial.cs:44)

DllNotFoundException: libOni
Obi.ObiCollisionMaterial.OnEnable () (at Assets/Obi/Scripts/Collisions/ObiCollisionMaterial.cs:27)

and these too

DllNotFoundException: $

Obi.ObiCollisionMaterial.OnDisable () (at Assets/Obi/Scripts/Collisions/ObiCollisionMaterial.cs:32)

DllNotFoundException: $

Obi.ObiCollisionMaterial.OnValidate () (at Assets/Obi/Scripts/Collisions/ObiCollisionMaterial.cs:44)

DllNotFoundException: $
Obi.ObiCollisionMaterial.OnValidate () (at Assets/Obi/Scripts/Collisions/ObiCollisionMaterial.cs:44)
UnityEditorInternal.InternalEditorUtility:GetGameObjectInstanceIDFromComponent(Int32)
UnityEngine.GUIUtilityLenguarocessEvent(Int32, IntPtr)




the list has around 70 errors.


Just checked the forums, I see to restart unity. seems to fix it

Print this item

  rotation constraint?
Posted by: avatech - 07-04-2019, 06:59 AM - Forum: Obi Softbody - No Replies

Right now, when I rotate the game object (45 degrees) then I press Play, the physics tries to return to its original rotation. Like in this GIF:

[Image: giphy.gif]

I don't want this. Anyone can give me clue how to set the softbody return to original shape while IGNORING its current rotation? I want it to stay at 45 degrees.

Print this item

  Weird behavior between Softbodies and Rigidbodies
Posted by: Waksra - 05-04-2019, 05:34 PM - Forum: Obi Softbody - Replies (2)

Just got this asset and it's awesome!

I've been running into some weird behavior though between Softbodies and Rigidbodies.
The scene has one Softbody ball and a Rigidbody cube standing on a plane, the ball lands on the cube normally, but after a little while it starts to slowly slide in one direction, no rotation. On the plane the ball acts as expected.
[attachment=315]
This is the scene setup I have, the ball was originally in the center of the cube. It's not rotating, only tilted to that side while sliding. Worth noting that it's also accelerating.

I'm very new to this asset, so I could very well be doing something wrong, so I'll include all my component values.

[attachment=316]
The ball.

   
The cube.

   
The solver.

Thanks in advance for any insight.
Cheers!

Print this item

  collision with mesh collider
Posted by: Richard - 05-04-2019, 05:18 AM - Forum: Obi Cloth - Replies (7)

Obi cloth cannot collide with obi collider from mesh collider. Why is this happened? I tried obi collider from sphere collider, but it has no problem.

Print this item

  Using with 2017.4.15f1 possible?
Posted by: thegreenhell - 05-04-2019, 01:28 AM - Forum: Obi Softbody - Replies (1)

My question is pretty simple.  Is it possible to make this asset work with 2017.4.15f1?  This is the version of Unity currently in use by the program I'd like to use the plugin for.  If possible, I'd be more than happy to make a purchase.  Otherwise, my search to replace the plugin I currently use (Dynamic Bone) will continue.  Thank you for your time.
-GreenHell

Print this item

  collision of things
Posted by: Richard - 04-04-2019, 02:53 PM - Forum: Obi Cloth - Replies (1)

I tried to crash the sphere to obi cloth and change the shape. Is it not enough set up? I used add force for crashing but it does not change shape of obi cloth.

Print this item

  NullReferenceException for ObiRopeCursorEditor.cs (Unable to use any form of rope)
Posted by: glish - 04-04-2019, 05:57 AM - Forum: Obi Rope - No Replies

Hey guys, so out of no where (I hadn't changed any scripts to my knowledge), my obirope seems to have broken. I'm currently using a slight variation of the GrapplingHook.cs script and for whatever reason, it just started giving these errors on play:
[Image: 2khoh5.png]

Line 46 in ObiRopeCursorEditor.cs is:

Code:
Vector3 pos1 = rope.GetParticlePosition(distanceBatch.springIndices[constraint*2]);
in the OnSceneGUI() function

To reproduce this, I opened a new project and imported ObiRope, then created two cubes. On one, I put the GrapplingHook.cs script and the other an ObiCollider and ObiRigidbody.

After pressing play, the GrapplingHook cube will turn into this strange icon and the first error listed above will begin being listed. Then, if you click on the other cube, the rest of the errors begin spewing out.
[Image: adzzts.png]
The above image used to be a default 3D cube, but turns to that upon pressing play.


This also happened in the GrapplingHook sample scene. Does anyone have an idea as to why that might be happening? I was using the rope with no issues for quite a while, and earlier it seemed to just decide to no longer cooperate lol.

Any help is appreciated as this is a pretty big aspect of my project.

EDIT:
By the way, I'm on Unity 2018.3.10f1 and the latest version of ObiRope from the asset store

EDIT2:
Something very strange is going on with ObiRope for me. I've tried using at least 5 different versions of Unity, I've deleted the Obi folder and redownloaded it into new projects, and all of them are broken. It seems that even adding the default ObiRope from the 3D Object menu doesn't work and just produces the same set of lines as the image above.

Also, strangely, in the sample GrapplingHook scene, if you first fire the rope in Play mode and then move to Scene mode, there will be no errors, but if you switch directly to scene mode and click on the object with the grappling hook script, the errors begin being listed.

EDIT3: So I took a super old copy of Obi from an old project and attempted using that, I got a new nullreferenceerror in obirope.cs. I noticed that for some reason, the ropes aren't being initialized on play, so I did some testing and tried calling rope.Initialize() (I made it accessible in ObiRope.cs) in the GrapplingHook.cs awake function, and surprisingly it worked. No more errors. Still doesn't make much sense to me though.

Print this item

  Compile errors => What Unity version to use ?
Posted by: GameKitten - 03-04-2019, 05:24 AM - Forum: Obi Softbody - Replies (5)

Hi,

Purchased the plugin yesterday, tried with unity 2018.1.0 and the latest 2018.3.11f1.

Same errors.


Doing menu > obi > about > install doesnt fix the errors.


What version of unity must i use ? on the asset store it says "Package has been submitted using Unity 2018.1.0."


Also in the 2018.3.11f1 i can press play and it works, and on the other version it says all compiler errors must be fixed.



[Image: obi_errors.png]

Print this item