Search Forums

(Advanced Search)

Latest Threads
Solver is too performance...
Forum: Obi Rope
Last Post: josemendez
10 hours ago
» Replies: 1
» Views: 31
Swinging on rope
Forum: Obi Rope
Last Post: quent_1982
Yesterday, 03:11 PM
» Replies: 4
» Views: 70
Crash Related to CustomEm...
Forum: Obi Fluid
Last Post: josemendez
26-05-2025, 03:46 PM
» Replies: 1
» Views: 57
How to Get Alpha Value in...
Forum: Obi Fluid
Last Post: josemendez
26-05-2025, 03:44 PM
» Replies: 1
» Views: 38
Rope disappears when came...
Forum: Obi Rope
Last Post: josemendez
23-05-2025, 08:26 AM
» Replies: 7
» Views: 488
Collisions do not happens...
Forum: Obi Rope
Last Post: quent_1982
21-05-2025, 12:00 PM
» Replies: 2
» Views: 292
Unstable chain attachment
Forum: Obi Rope
Last Post: quent_1982
17-05-2025, 10:31 AM
» Replies: 13
» Views: 973
Memory leak warning with ...
Forum: Obi Fluid
Last Post: josemendez
16-05-2025, 02:07 PM
» Replies: 4
» Views: 595
the Obi cloth has some co...
Forum: Obi Cloth
Last Post: MakeLifeEasier
16-05-2025, 08:59 AM
» Replies: 3
» Views: 390
ObiCloth going through co...
Forum: Obi Cloth
Last Post: josemendez
16-05-2025, 08:10 AM
» Replies: 1
» Views: 192

 
Pregunta Hinge Joints Alternative?
Posted by: StudioTatsu - 13-05-2019, 06:01 PM - Forum: Obi Softbody - Replies (14)

Does softbody have a type of fixed rotation similar to unity's hinge joints?


I can't use unity's hinge joints because it requires a Connected Body (a rigidbody) to follow the transform.
https://docs.unity3d.com/Manual/class-HingeJoint.html


Basically, I'm trying to create softbody doors that can open and swing from softbody vehicles while driving. 
My vehicles are controlled by adding forces to softbodies. 
I'm not using rigidbodies at all, since the 4.1 update.
Without a connected body, the hinge joint is connected to the world and doesn't follow the vehicle.

Any help on or direction on this is greatly appreciated. Thanks.

Print this item

  Tunneling
Posted by: Richard - 13-05-2019, 12:44 PM - Forum: Obi Cloth - Replies (1)

I set spheres with obi colliders like the image, however when the tshirt drop by gravity, it tunnels the colliders. How can I fix this. I do not change size of any object.

Print this item

  can't edit particles
Posted by: CARLA - 13-05-2019, 11:54 AM - Forum: Obi Cloth - Replies (1)

Hello, 
first time using obi cloth. 
I follow the tutorials on the website. But I always get stuck after initialising my cloth. When I click on Edit Particules I just get a bunch of errors (I listed the major ones). I try with different meshes but it never worked. I have unity 2019.1 and Obi 4.1. 

__NullReferenceException: Object reference not set to an instance of an object

__The serializedObject should not be used inside OnSceneGUI or OnPreviewGUI. Use the target property directly instead. UnityEngine.GUIUtilityLenguarocessEvent(Int32, IntPtr)

__The targets array should not be used inside OnSceneGUI or OnPreviewGUI. Use the single target property instead.
UnityEngine.GUIUtilityLenguarocessEvent(Int32, IntPtr)

Print this item

  (Linux Editor) - undefined symbols in libOni.so?
Posted by: m000z0rz - 13-05-2019, 05:23 AM - Forum: General - Replies (29)

I'm running into problems using Obi Ropes / Obi Fluids in the Unity Linux Editor

At first, I was just getting errors about "DllNotFoundException: libOni". After some googling and troubleshooting, I tried a few things, one of which had an interesting effect. If I edit the definition of LIBNAME in Oni.cs so that it equals "Oni" instead of "libOni", matching the value used for other Linux platforms, then I first get warning about undefined symbols in libOni.so, followed by a bunch of similar DllNotFoundExceptions.

After some more troubleshooting, though, I'm nto having luck getting any further. Could I please get some help getting this to work in the Linux Unity editor?


OS: Ubuntu 16.04.4
Unity version: Tried with two versions: 2018.4.0f1 and 2018.3.0f2 with similar results
Obi assets: Obi Ropes and Obi Fluids, both downloaded today from the Asset Store (version 4.1)
Error messages when opening Unity (to the Electric Wires sample scene, though other sample scenes have similar result)

About 56 of the following warning, coming from various places:
Plugins: Couldn't open Assets/Obi/Plugins/x86_64/libOni.so, error: Assets/Obi/Plugins/x86_64/libOni.so: undefined symbol: _ZN3Oni23FrictionConstraintGroupC1EPNS_24CollisionConstraintGroupEPNS_6SolverE
Obi.ObiBatchedConstraints:Enable() (at Assets/Obi/Scripts/Constraints/ObiBatchedConstraints.cs:71)
Obi.ObiBatchedConstraints:OnEnable() (at Assets/Obi/Scripts/Constraints/ObiBatchedConstraints.cs:127)
UnityEngine.GUIUtilityLenguarocessEvent(Int32, IntPtr)

About 137 of the following error, coming from various places:
DllNotFoundException: Oni
Obi.ObiConstraintBatch.Enable () (at Assets/Obi/Scripts/Constraints/ConstraintBatches/ObiConstraintBatch.cs:132)
Obi.ObiBatchedConstraints.Enable () (at Assets/Obi/Scripts/Constraints/ObiBatchedConstraints.cs:71)
Obi.ObiBatchedConstraints.OnEnable () (at Assets/Obi/Scripts/Constraints/ObiBatchedConstraints.cs:127)
UnityEngine.GUIUtilityLenguarocessEvent(Int32, IntPtr)



Some things I've tried so far:
- Confirmed it works as expect on my Windows machine
- Tried using a fresh project with nothing but Obi Ropes imported, got same warning and errors
- Tried setting LIBNAME in Oni.cs to be "Oni" (#if UNITY_EDITOR_LINUX). Without this, LIBNAME was libOni, and I only got the DllNotFoundException errors; when set to "Oni", I get a combination of the warnings and errors.
- After seeing this thread: http://obi.virtualmethodstudio.com/forum...nux+editor
      I tried moving libOni.so to the folder described (changing only for my installed Unity Editor version), but that didn't seem to have an effect
- Tried editing my .bashrc to extend LD_LIBRARY_PATH with the path of my project/Assets/Obi/Plugins/x86_64, this may have been part of getting to the warnings above, not sure

Print this item

  Obi Softbodies not working in unity 2019.1.2f1
Posted by: wixar172 - 12-05-2019, 11:34 AM - Forum: Obi Softbody - Replies (2)

Hello,
i just bought obi softbodies and its not working meshes break up at the seams, the barrels don't dent, etc...
images would explain it better than i can, find them attached
[attachment=353]
[attachment=354]
[attachment=355]

Print this item

  Low-level getters/setters changed signatures
Posted by: Anoniem - 10-05-2019, 10:19 AM - Forum: General - Replies (3)

Hello,

I'd like to manipulate individual particles (of a rope in this case). According to the manual and several forum posts, the Oni.GetParticlePositions/SetParticlePositions/GetParticleVelocities/SetParticleVelocities functions take 4 parameters. In my version (4.1 I think?), they take only two: the solver and a positions IntPtr.

[Image: gb8T4tT.png]

I can't find any reference to this however, and I'd like to know how to pass the positions with this new function signature.

Print this item

  Changing Num Particles in Runtime Stops Emission
Posted by: Komsur - 10-05-2019, 10:16 AM - Forum: Obi Fluid - Replies (6)

Hi,

I'm experimenting with changing the Num Particles field during run time, this causes the Active Particles to be set to 0, and all emission stops and the Editor needs a restart.

Any ideas?

Thanks.

Print this item

  How to move a fluid without a container?
Posted by: MokhovDmitry - 10-05-2019, 09:28 AM - Forum: Obi Fluid - Replies (4)

Hello again. Can you explain, how I can move the fluid without container-object with ObiColliders as it's done in FaucetAndBucket scene?

As I see, I can move it with the Solver, with enabled "Simulate in Local space", but then all the fluids generated by ObiEmmiter will move. All I want is to move a particular puddle and merge it with other puddles

Print this item

  Candy Dispenser pre-filled with solid particles when playing?
Posted by: blogsabout - 10-05-2019, 09:19 AM - Forum: Obi Fluid - Replies (1)

Hello Obi'ers!   Sonrisa

I'm making a serious of dispensers with "candy" that needs to be filled with particles when the project starts.
And then when interacting, a "door" will open and some of it will fall down a tube onto a cake.
How do I pre-spawn the dispensers with particles, so it's already full from the when the game starts?

Thanks for this wonderful plugin  Gran sonrisa

Cheers, Dan

PS. Will Obi Cloth or Softbody be a solution if I want to have some "pancakes" thrown in the air and spin and will "bend"?

Print this item

  Attaching a child gameobject to a gameobject pinned to a rope
Posted by: nigelkennington - 09-05-2019, 03:48 PM - Forum: Obi Rope - Replies (3)

Hi,

I have a crane with a hook pinned to two obiropes. That's working fine, but I'm having a real problem when the crane hook "picks up" a different game object. If the game starts with the hook parented to a gameobject, everything is fine:

[Image: SA7eNMC.gif]

but if I use the script to parent it while the game is running it behaves very oddly:

[Image: qWBEDmU.gif]

Any idea what I am doing wrong?

Print this item