Search Forums

(Advanced Search)

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

 
Bombilla Stretching scale each axis
Posted by: JhonatasFarias - 28-02-2021, 01:48 AM - Forum: Obi Cloth - Replies (2)

Hi, by the way, great asset.
It would be cool if we can stretch along separate axis related to the proxy configuration position.

[Image: B2MiiOTsDGogN-fJle0IgvRSVlC4ZDeJWqY3x8Fg...authuser=1]

For instance, I'm using the same blueprint to populate clothes on the scene and I'm using stretching scale to make some size variations.
If for example was possible to stretch along x axis it would be nice to make like a long pillow instead of everything variated but same proportion.

It's just an idea, if not too hard to implement, it would be cool.

Print this item

Bombilla Subtitles in the solver constraints list
Posted by: JhonatasFarias - 27-02-2021, 09:00 PM - Forum: General - Replies (6)

It would be more easy to identify which constraint each system takes consideration.

[Image: JdV-zbCRRAs8xPhcQyEDTl_mH1GpM9iGj6zAGCoW...authuser=1]

Print this item

Pregunta Get rope/rod stretch lengh?
Posted by: JhonatasFarias - 27-02-2021, 07:59 PM - Forum: Obi Rope - Replies (2)

Hi there, is there a way i can identify/get the lenght of a rope or rod via script?

i mean like in stationary pose it is about 100% long... then streching it i see it's something like 120% long from initial pose... or initial pose is 1m then streching it's about 1.2m... 1.3m...

Print this item

Pregunta Tether for ropes and rods?
Posted by: JhonatasFarias - 27-02-2021, 07:50 PM - Forum: Obi Rope - Replies (5)

Hi there, in an old tutorial of obi rope making a pendulum it shows a component of tether constraints, as you can see at min 7:



Inside the version I have (6.0.1) there is no component like this, how can I achieve tether constraints like that in ropes and rods?

Print this item

  About Moving?
Posted by: zero16832 - 27-02-2021, 09:15 AM - Forum: Obi Softbody - Replies (34)

According to the example you provided, I wrote a demo that uses the mouse to move. At first, the demo is normal, but the later movement slowly turns into the opposite direction. Why?

              if (Input.GetMouseButton(0))
                {
                    direction += moveDirection* moveSpeed; 
                    softbody.AddForce(direction.normalized * moveSpeed, ForceMode.Acceleration);
                }

Print this item

  Missing Ref Exception when deleting Obi Cloth
Posted by: fluidman84 - 26-02-2021, 09:45 PM - Forum: Obi Cloth - Replies (5)

I've encountered this error when I attempt to Destroy() a obi cloth object in the scene that has been instantiated and then create a new obi cloth object in its place. This issue does not occur if I Destroy the object first then instantiate a new one afterward in a separate method, but I cannot perform the Destruction in the same method without receiving this error for the missing ObiSkinnedClothBlueprint. Is there a way I can disable this one the obi cloth to be destroyed to prevent this error?



Code:
MissingReferenceException: The object of type 'ObiSkinnedClothBlueprint' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
UnityEngine.Object.Instantiate[T] (T original) (at <fe84f4a754da4a6bb64fca409d40938a>:0)
Obi.ObiActor.StoreState () (at Assets/Obi/Scripts/Common/Actors/ObiActor.cs:1028)
Obi.ObiActor.UnloadBlueprint (Obi.ObiSolver solver) (at Assets/Obi/Scripts/Common/Actors/ObiActor.cs:1071)
Obi.ObiClothBase.UnloadBlueprint (Obi.ObiSolver solver) (at Assets/Obi/Scripts/Cloth/Actors/ObiClothBase.cs:179)
Obi.ObiSolver.RemoveActor (Obi.ObiActor actor) (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:1114)
Obi.ObiActor.RemoveFromSolver () (at Assets/Obi/Scripts/Common/Actors/ObiActor.cs:326)
Obi.ObiActor.OnDisable () (at Assets/Obi/Scripts/Common/Actors/ObiActor.cs:292)
Obi.ObiSkinnedCloth.OnDisable () (at Assets/Obi/Scripts/Cloth/Actors/ObiSkinnedCloth.cs:123)
UnityEngine.Object:DestroyImmediate(Object, Boolean)
OutfitChanger_Fem:DeleteClothingItem() (at Assets/Scripts/OutfitChanger_Fem.cs:181)
OutfitChanger_Fem:LoadOutfitBundlePrefab(String) (at Assets/Scripts/OutfitChanger_Fem.cs:172)
UnityEngine.EventSystems.EventSystem:Update() (at C:/Program Files/Unity/Hub/Editor/2020.1.15f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/EventSystem.cs:376)

Print this item

  Segregation of instructions to each rope at the time of collision
Posted by: NakanHogeri - 26-02-2021, 12:51 PM - Forum: Obi Rope - Replies (4)

I'm currently trying to change the color of two Obi Rope in the same Solver at their own timing when they collide with other objects.

I pasted the script below on each rope and tried it, and when one rope collided with another object, the color of the other rope was the same.

Code:
private void Solver_OnCollision(ObiSolver solver, ObiSolver.ObiCollisionEventArgs e)
    {
        foreach (Oni.Contact contact in e.contacts)
        {
            if (contact.distance < 0.025f)
            {
                    ChangeColorDark();
            }
        }
    }


Obi version 6.0, Surface-based collisions are enabled on each rope.

If I had two Obi Solvers in the scene and one rope as a child object of one Solver, the current script would work, but it would be very costly.

I would be very grateful if you could let me know if you have an elegant solution.

Thanks.

Print this item

  About SoftBody Moveing
Posted by: zero16832 - 25-02-2021, 09:56 AM - Forum: Obi Softbody - Replies (5)

Thanks you to make this great plugins!

I make a mesh to softbody and use  addforce to move the gameobject,it work.

But i want to only rotate or move to one axis,how can i to do that?

how can i to freeze position or freeze rotation?

thank your help!

Print this item

  Sticky collision material is broken?
Posted by: asimofu_ok - 25-02-2021, 09:48 AM - Forum: Obi Fluid - Replies (16)

Hi.
Fluid particles containing sticky collision materials bounce off and scatter when in contact.
For example in FluidViscosity sample.
   

This happened at Unity 2019.4.21f1 and 2020.2.6f1.
Something broken?

Print this item

  Caution tape?
Posted by: iandaviddunlop - 24-02-2021, 06:01 PM - Forum: Obi Rope - Replies (1)

Can I render a custom repeating texture across a "rope"? The texture would say something like "CAUTION DO NOT CROSS". The back and front sides would need to be different portions of the same texture (probably an offset).

Thanks.

Print this item