Search Forums

(Advanced Search)

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

 
  Could you help me? how to config this
Posted by: jirawatball - 07-03-2019, 11:10 AM - Forum: Obi Rope - No Replies

I need to do this but I don't Know how to config this

https://www.picz.in.th/image/tftWXu

https://www.picz.in.th/image/tft0zZ

Print this item

  get sign when cloth is tore
Posted by: Richard - 07-03-2019, 10:20 AM - Forum: Obi Cloth - Replies (17)

Hello.

I want to make if statement when the cloth is tore. How can I do that?

Print this item

Lengua Are Obi products going to be updated soon?
Posted by: StudioTatsu - 07-03-2019, 05:16 AM - Forum: General - Replies (5)

Hi, 

1. I'm wondering if the Obi products will be updated (with bug fixes) on the Unity Asset store soon. Several bug fixes are floating around on the forums that I constantly have to hunt down and add when creating new projects using Obi Assets. 


2. Would you create a video on how to control a softbody ball with a rigidbody - that actually collides with the floor
I think I'm doing something wrong or missing a step. Every time I attempt it, the ball simply falls thru the floor. 

Thanks

Print this item

Pregunta Assertion failed on expression: 'offset + size <= bufLen'
Posted by: azevedco - 06-03-2019, 04:50 PM - Forum: Obi Cloth - Replies (6)

Hi,

Followed the quick setup guide.  Brought in an Obi Solver into the scene, set a child object with a Skin Mesh Renderer up with the Obi Cloth Component (along with it's additional components all left as default), then clicked initialize.

After hitting play, I get slammed with this error message:

Assertion failed on expression: 'offset + size <= bufLen'

Over and over again.  Everything in the setup was not really modified a part from bringing in the appropriate data for setting up the Game Object.  Has anyone had to deal with this issue and/or know how to deal with it?

I've brought just the Model into a scene and set it up, got the error message when it's simulating.  In our main scene, as soon as the character is to animate through a Timeline, the character freezes up and the child object on the character isn't getting affected by the Obi Cloth.

Thanks,
Cole

Print this item

  add vector to obi cloth
Posted by: Richard - 05-03-2019, 03:50 PM - Forum: Obi Cloth - Replies (5)

Hello.
I try to add vector to obi cloth. I have a error:Cannot implicitly convert type 'UnityEngine.Vector3' to 'float', but the direction of coding is not problem?

using UnityEngine;
using System.Collections;
using Obi;

[RequireComponent(typeof(ObiActor))]
public class DistanceAnchor : MonoBehaviour
{

    ObiActor actor;
    public ObiSolver solver;
    


    void Awake()
    {
        actor = GetComponent<ObiActor>();

    }

    void Update()
    {
        ObiSolver solver = actor.Solver;

        float invMassPerParticle = 0.01f;
        for (int i = 0; i < actor.invMasses.Length; ++i)
        {
            int indexInSolver = actor.particleIndices[i];
            actor.invMasses[i] = solver.invMasses[indexInSolver];
            actor.invMasses[i] = new Vector3(0.0f, 0.05f, 0.0f);
            
        }
    }
}

Print this item

  Sticky Materials
Posted by: Kostik3000 - 05-03-2019, 03:34 PM - Forum: Obi Softbody - Replies (3)

Hi there,

yesterday I purchased your Softbody unitypackage. I am trying to stick two objects together (like in your example on the website with the cloth). 

I created a sticky material and applied it to two spheres, which have soft bodies on them. But the don't stick to each other.

The obi solver has Collision and Particle Collision checked true. I also tried adding collideres to the spheres, but that changes nothing.

Am I missing something? Any help will be appreciated.

Print this item

  Performance on mobile.
Posted by: hecali_aj - 05-03-2019, 01:49 PM - Forum: Obi Softbody - Replies (1)

Hello!

I'm very interested in buying the product. As of now I only own Obi Cloth. How is the performance on mobile devices?
Can multiple simple (cube or sphere) softbody objects run smoothly?

Print this item

  Moving multiple cloth actors not working
Posted by: JJarvis89 - 04-03-2019, 06:41 PM - Forum: Obi Cloth - Replies (4)

Hi,

Great plugin! I apologise if this has been answered somewhere else, but let me explain what the issue is first. We are using Obi Cloth to simulate flags and sails on a ship.

We have the problem that when moving a ship, not all the objects using the Obi Cloth component move along with the object. It only seems to work for one object, but on all the other objects it just stays in the position where the object spawned.

I've used the same setup that is used for "Flag" in the Wind demo scene, if that helps. 

Is there anything that needs to be set up for this to work? 

Thanks in advance for any help! 

Best regards,
James

Print this item

  Extending rope and particle mass
Posted by: drobi - 03-03-2019, 05:28 PM - Forum: Obi Rope - No Replies

Hi,

I've been fiddling around with Obi Rope to get a crane working, I got it working as I'd like except when extending the rope.

New particles added get a default Mass which is way too low for a stiff rope. my particles use a mass of 200.

Can I set a default mass for particles that get added? I tried going over the code but it seems to do something funky when setting the invmass.

Furthermore I have a problem when trying to extend the rope: it seems to be stuck, I first need to move something the rope is attached to before it will update the rope length.

Any help is appreciated.

Edit: I figured out the "stuck" part, that was my own stupidity. Sonrisa

For the hacky bit I changed the DEFAULT_PARTICLE mass to 200 but it still acts like a rubberband. In the inspector every particle seems to have the correct mass but when extending the rope it just acts like a yoyo. I set the Distance constraint to over 300 iterations but I never get a nice cable extension going.

Edit: I just saw Filo, is that maybe a better way to simulate a crane? Or should this just work?


Edit3: I figured out that the yoyo effect happens when the rope extends beyond it's original length. Say I have a rope of 2 meters initialized, but I can extend it arbitrarily, between the 2 meters everything works as it should but as soon as the cable extends beyond 2 meters it will just become a yoyo. Do I need to create a rope that is already on it's maximum size and spool it in?

That would be really problematic. Triste

Print this item

  Multiple Obi Solver problem & Build problem (Oni.dll)
Posted by: Piolols - 03-03-2019, 12:35 PM - Forum: Obi Rope - Replies (1)

Hi friends, 
I have a two problem with Obi Rope. 

1) When I put two Obi Solvers on scene in different objects with checked "Simulate in Local Space",  work only one Obi Solver in one time, in second Obi Solver Ropes are frozen.

2) In Complicated game all Ropes not work, Game looking for "Oni.dll" in the "NameOfGame_Data/Mono/", but Oni.dll is in the "NameOfGame_Data/Plugin/Oni.dll". Creating the "Mono" folder in "NameOfGame_Data/" folder and put "Oni.dll", solves this problem.

I use Unity 2018.3.3

Sorry for my bad english :>

Print this item