Search Forums

(Advanced Search)

Latest Threads
Rope disappears when came...
Forum: Obi Rope
Last Post: josemendez
Yesterday, 08:26 AM
» Replies: 7
» Views: 207
Collisions do not happens...
Forum: Obi Rope
Last Post: quent_1982
21-05-2025, 12:00 PM
» Replies: 2
» Views: 204
Unstable chain attachment
Forum: Obi Rope
Last Post: quent_1982
17-05-2025, 10:31 AM
» Replies: 13
» Views: 817
Memory leak warning with ...
Forum: Obi Fluid
Last Post: josemendez
16-05-2025, 02:07 PM
» Replies: 4
» Views: 535
the Obi cloth has some co...
Forum: Obi Cloth
Last Post: MakeLifeEasier
16-05-2025, 08:59 AM
» Replies: 3
» Views: 331
ObiCloth going through co...
Forum: Obi Cloth
Last Post: josemendez
16-05-2025, 08:10 AM
» Replies: 1
» Views: 141
Why does setting InverseM...
Forum: Obi Fluid
Last Post: nonnamed
13-05-2025, 12:41 PM
» Replies: 8
» Views: 11,881
Shaking problem when coll...
Forum: Obi Softbody
Last Post: webmagic
13-05-2025, 12:11 PM
» Replies: 6
» Views: 477
Obi Softbody IndexOutOfRa...
Forum: Obi Softbody
Last Post: Aroosh
11-05-2025, 11:37 AM
» Replies: 2
» Views: 266
Rope pinned to two dynami...
Forum: Obi Rope
Last Post: Crimson1462
09-05-2025, 07:51 PM
» Replies: 2
» Views: 366

 
  ObiSofbody problems in runtime with separate solver and initialized state
Posted by: mmortall - 07-05-2019, 06:37 PM - Forum: Obi Softbody - Replies (2)

Hello

I am working with ObiCloth before but I wanted to switch to ObiSofbody. But it is not possible due to several critical programs and missing functionality.

1. I am not able to get it work in runtime when I have Solver separately. It seems like ObiSofbody required to have solver attached to it when it is instantiated. Because when I assign it later simulation is not working as it should. Looks like Skinner stop working.
In my application, I use lots of soft-bodies with just one solver as a prefab and I assign it in runtime for object I want to simulate. 
I've reproduces it on test scene (with blue Balls)

2. I also not able to get it work when ObiSofbody is not in initialized state in prefab. And I have problems with creating prefabs with Initializing state. This is not working in prefabs preview mode (Unity 2018.3 or later). So I do initialization in runtime by using GeneratePhysicRepresentationForMesh() and it is not working for ObiSoftbody but working great with ObiCloth.

3. It looks like ObiSofbody and ObiSofbodySkinner are know about each other in Awake method. I expect a problems with it because Unity is not guarantie Awake method calling order.

So what I need:
- Allow me to setup ObiSofbody with external Solver, Initlize it, change it fields ect. And then when I am done I can call AddToSolver to get it simulated. This is currently not working.

Thanks

Print this item

  Pin Constraints break at runtime when pinned object is enabled/disabled
Posted by: herbst - 07-05-2019, 02:34 PM - Forum: Obi Rope - No Replies

I have a rope that is set up with Pin Constraints to a Unity Rigidbody + ObiRigidbody + ObiCollider.

That works as intended, the rope pulls the Unity body and vice versa.
However, as soon as I disable the pinned object and enable it again, the Pin Constraint stops working - the rope is still attached to the object, but the object does not move according to physics anymore (behaves as if it would be kinematic). Both isKinematic (on the rigidbody) and kinematicForParticles is turned off, obviously.

Am I missing something? Is there a call to "wake up" the Pin Constraint?

EDIT: it seems enabling/disabling alone doesn't cause the bug, still trying to investigate. It does happen every single time in my case, so the question on how to recover a broken Pin Constraint at runtime still holds.

EDIT 2: the bug is caused by parenting the Unity object to another object in a different scene, then parenting it back into the original scene. Note that "regular" scripts just keep their referenced object even if it is in another scene.

Print this item

  Creating rope at runtime looks unprofessional because of coroutines. How to fix?
Posted by: yyy-2c2p - 06-05-2019, 06:35 PM - Forum: Obi Rope - Replies (4)

Hello, really enjoying Obi Rope so far, but have run into a couple of issues. Im in the final steps of releasing my game, and needs to work some of these out before launch.

In my game I have a save system that counts how many ropes were in the room before you left, then when you come back it loads all those ropes back into the room. My problem with this is that the only documentation I found for creating ropes uses coroutines, and this makes spawning all weird. Instead of being instantiated all at once the ropes are spawned one after another, then it takes some time for them to gain the variables that I have given them, such as their length, they also take time to attach the start and end prefabs and be affected by physics. It can be a solid couple of seconds after i start the game until the ropes are done doing their thing, and it looks super weird and un-professional the entire time. 

How can I fix this? Is there a way to create snakes without coroutines?

Here is my code

Code:
   public IEnumerator makinSnakesLoop(int totalSnake){
       for(int x =0; x<totalSnake; x++){
            GameObject gg = Instantiate(snake, Vector3.zero, Quaternion.identity);
            yield return gg.GetComponent<ObiRope>().StartCoroutine(gg.GetComponent<ObiRope>().GeneratePhysicRepresentationForMesh());

            gg.GetComponent<ObiRope>().AddToSolver(null);


               gg.GetComponent<length>().length2 = newController.ss.lengths[x];
               gg.GetComponent<length>().exp = newController.ss.exp[x];
               gg.GetComponent<length>().goal = newController.ss.goals[x];
       }
   }

Thank you.

Print this item

  How to make a self-collecting growing blob?
Posted by: MokhovDmitry - 06-05-2019, 11:10 AM - Forum: Obi Fluid - Replies (6)

What I mean: I need to control the Blob, that rolls around the map and grows up in size everytime it absorbing other blobs. Time to time the Blob will meet on the way obstacles, that makes him to fall apart, but after passing the obstacles, all its parts should come together again in one big blob. Yeah, like "Liquid metal" did in "Terminator 2"

So, I need some advices from developers: how would you implement this mechanic using your asset? 

For this moment, it looks like: https://gyazo.com/60a6610a9cee40d976cf6149f7b6b6bc


Settings of emitter and solver in attachments

Print this item

  Obi Cloth Proxy - Target moves twice the distance?
Posted by: DemeterDKD - 05-05-2019, 11:25 PM - Forum: Obi Cloth - Replies (1)

If the video works


https://drive.google.com/open?id=1Eoy2aP...Uv39phQzge

I feel like I have a decent grasp of how the Obi Cloth Proxy system works but Im having a strange problem. My character has root motion and walks forward, but when I hit play, my TARGET mesh moves forward twice the distance as my root motion, getting farther and farther away. Here's my steps 'also included in video'

Hair cloth mesh - Low Poly Hair
Virginia mesh - High Poly Hair

1 - generate obi mesh on LP Hair
2 - generate obi mesh on HQ hair
3 - create triangle skin map "did a super fast fill and bind all for video sake"
4 - added obi cloth onto LP Hair
5 -- added Solver w/ simulate local space ON
6 -- Generated Tether on LP Hair
7 - Added Obi Proxy on HQ Hair with LP Hair Particle Proxy, skin map, Target topology
8 - Done

When I hit play the HQ hair is bound with the expected movement, but again the HQ hair just MOVES FORWARD twice the distance.

Another thing to note within the animator, I turned OFF Apply Root Motion, and the HQ binds perfectly... but only when I turn it ON, it breaks

Print this item

  Obi Support for 2018.3 and SRP?
Posted by: Josterday - 04-05-2019, 10:57 PM - Forum: General - Replies (2)

Before buying the full suite, we wanted to check and see which assets are compatible with 2018.3 and SRP projects:

Obi Fluid - looks like 2018.3 is supported but NOT SRP?

Obi Rope - Same as Fluid

Obi Cloth - Works with 2018.3 and SRP but requires material swap from default?

Obi Softbody - Works with 2018.3 but NOT SRP?

Do we have these correct? Really hoping to implement Rope and Fluid into our HDRP projects. Thanks!

Print this item

  Per Particle Coloration & thickness
Posted by: akuei2 - 04-05-2019, 02:58 AM - Forum: Obi Rope - Replies (2)

Help, Someone can give me a sample script of Coloration & thickness for Obi Rope?
I'm coding idiot ... dunno how to achieve those cool effect as blood vessel ...



[Image: intestines.gif]

Print this item

  Wind Tunnel Simulation
Posted by: Cyberben3d - 03-05-2019, 11:26 AM - Forum: Obi Fluid - Replies (2)

Hi, I'm wondering if Obi Fluid can generate visuals similar to CFD software, such as this video demonstrates:

https://youtu.be/2RBOtd-Z8O8?t=31

We are trying to create a virtual Wind Tunnel in Unity to demonstrate airflow properties around airfoil shaped objects and other things. I've been looking into importing vector fields from Maya Fluids and Fume FX but it would be really cool to be able to do something in real-time. We will have control over the hardware it runs on so we can build something with a lot of CPU/GPU power.

Another thing we'd like to do is the classic wind tunnel example using a car:

https://www.youtube.com/watch?v=sV_6E1Lh7yo

Even if it can only do it in 2D it would be useful as here:

https://www.youtube.com/watch?v=Png0fnG0b_U

I just haven't seen any demo videos of Obi Fluid that show this type of fluid simulation.

Thanks!

Print this item

  How to clip soft body
Posted by: apapaxionga - 03-05-2019, 11:00 AM - Forum: Obi Softbody - Replies (1)

I want to achieve a kind of simulation that the soft body can be picked up by a pair of chopsticks. The problem is that the chopstick is thin and will always pass through the particles. Even I increase the collision iterations. The particles will be pushed away by the chopsticks (use low shape matching stiffness). The particle picker can just pick and drag one vertex. If I want to achieve the whole softbody picked up and clipped by another physical object (rigidbody chopstick). How to setup the softbody? 

Do I need to combine both shape matching and distance constraint ? So the shape matching can maintain volume while the distance constraint can maintain particle's connection (not to be pushed away while collide with chopsticks). Does that mean I need to Obi Cloth ? Is it possible to setup a soft body object using both Obi Cloth and Obi Softybody?

Print this item

Pregunta Water drops on glass, How?
Posted by: Farzin - 03-05-2019, 07:04 AM - Forum: Obi Fluid - Replies (4)

Hello,
I just can't get Obi Fluid to simulate waterdrops on a plane to behave remotely like this one:
[Image: ca32f10fbb4f8eac286453ca3012d6e3.gif]
Would you please shed some light on this problem? any help is appreciated.
Thanks.

Print this item