Search Forums

(Advanced Search)

Latest Threads
Cloth has stretchy behavi...
Forum: Obi Cloth
Last Post: Andreia Mendes
24-07-2025, 03:15 PM
» Replies: 16
» Views: 457
Rope ignoring colliders o...
Forum: Obi Rope
Last Post: josemendez
24-07-2025, 07:03 AM
» Replies: 1
» Views: 99
Ladder made by Ropes (Rat...
Forum: Obi Rope
Last Post: josemendez
23-07-2025, 01:43 PM
» Replies: 5
» Views: 251
can you remove particles ...
Forum: Obi Softbody
Last Post: josemendez
22-07-2025, 02:19 PM
» Replies: 1
» Views: 153
ObiRope Mesh Renderer
Forum: Obi Rope
Last Post: quent_1982
08-07-2025, 11:27 AM
» Replies: 4
» Views: 513
How to dynamically change...
Forum: Obi Rope
Last Post: quent_1982
08-07-2025, 06:34 AM
» Replies: 6
» Views: 716
Pipeline that bends
Forum: Obi Softbody
Last Post: josemendez
04-07-2025, 09:52 AM
» Replies: 13
» Views: 1,504
How to implement/sync Obi...
Forum: Obi Rope
Last Post: quent_1982
01-07-2025, 01:48 PM
» Replies: 2
» Views: 423
Collisions don't work con...
Forum: Obi Rope
Last Post: chenji
27-06-2025, 03:05 AM
» Replies: 3
» Views: 487
Force Zone apply differen...
Forum: Obi Rope
Last Post: chenji
26-06-2025, 11:41 AM
» Replies: 11
» Views: 1,375

 
  Varius question's on obiFluid
Posted by: Claudio80 - 29-09-2017, 03:46 PM - Forum: Obi Fluid - Replies (7)

Hello everyone i've bought obifluid last week so i'm totaly noob about using it.
i've some problems:

1) i've created a bottle made of glass that shatter in pieces when collide whit other elements, on collision the emitter speed is set to 3.1f from 0 and create a little pool of fluid the problem is that the pool is to small and "bidimensional" i need a larger pool of liquid, any suggestion on liquid settings? (look at screen 1 for results)

2)I need to create a wine looking liquid, is it possible? what setting i should use?

3)I have realy big performance issues, all the computer's in my company run core i7 cpu's and one in particular run a 7th gen i7 and a gtx 1080 but frame rate is terrible whit more than 1000 particles.

thank you in advance and best regards.
Claudio


Screen whit stats (1fps)

Confundido

Dx diag



Attached Files
.txt   DxDiag.txt (Size: 29.71 KB / Downloads: 3)
Print this item

  Destroy particle on collision
Posted by: Kalidor - 29-09-2017, 10:50 AM - Forum: Obi Fluid - Replies (15)

Hi!

It's me again Guiño.

I want to kill a particle on collision.
How can i handle that?

Print this item

  Collision detection via script / disable force
Posted by: Kalidor - 28-09-2017, 11:24 AM - Forum: Obi Fluid - Replies (4)

Hi!

1. Is it possible to request collisions via script (like OnParticleCollision)?
2. The particles shouldn't add force to other rigid bodies. Is it possible to disable it?

Thank you!
Kalidor

Print this item

  Static ropes possible?
Posted by: Sauerkraut - 26-09-2017, 07:58 PM - Forum: Obi Rope - Replies (4)

Hi - I am considering Obi Rope for a VR game - I am intending to have a lot of "ropes" - some interactable through physics and the player's hands - Obi's capabilities of which are well publicised, but also a lot of static ones (eg. electric wires running along walls, connecting puzzles etc) which never need to be interactable.

Obi seems like a great way to create realistically accurate ropes / cables which drape along other meshes / trees / walls / terrain. However for those ropes / cables etc which are static - is there a way to set up Obi-ropes using the physics to drape the rope around other objects at design time initially, then once they are in the correct position obtain just the mesh of the rope's generated skin and discard the particles for performance reasons? Or is it possible to completely disable the physics so that for static ropes this does not take up unnecessary processing power? The latter would be preferable, as that would allow modification to the ropes as the game is being designed / terrain changed / etc.

Any help would be much appreciated.

Print this item

  Rope distance from attached object
Posted by: dignifiedweb - 26-09-2017, 04:48 AM - Forum: Obi Rope - Replies (3)

Hi,

I love your rope asset so far! I was wondering, is there a way to get the rope snug up against the collider? I followed along with your youtube tutorial to make a rope attached to a cube, but using all defaults, my cube is a considerable distance away from the rope at runtime. When I add the Pin Constraint (pinned to object) on the bottom rope particle, it automatically adds an offset in the Y access. I noticed, if I drop that Y access down a bit, it brings it closer to the collider. In the tutorial, it also mentioned adjusting the distance in the solver itself, I did that as well, but no impact for some reason. Any ideas what I'm doing wrong?

Here's a screenshot:
[Image: LQqp9Hj.png]

Youtube tutorial I followed

I can also provide you the scene if needed, let me know. If I revert to defaults, it is the same result I have found.

I should note: I pinned the top particle to the top cube instead of pinning in place, which is what was done in the tutorial.

Print this item

  Obi rope ends
Posted by: Parker - 25-09-2017, 11:01 PM - Forum: Obi Rope - Replies (1)

How can we get the rope end/start prefab and change Color or material during runtime.

When you attach a start and/or end prefab to the rope startprefab or the endprfab. We want to change material on the ends how can we get a handle or reference to the instantiated end

Print this item

  How to make small size continous water stream?
Posted by: sunyifeng83 - 25-09-2017, 04:17 AM - Forum: Obi Fluid - Replies (2)

Hi jose,


I still have a problem. I want the water flow down from faucet continously and smaller. But if i made the EmitterShapeDisk smaller. If just one stream. The stream can't continously flow down. If there is any way to make small size continous stream? Now the streams flow down have gaps. 



Attached Files Thumbnail(s)
   
Print this item

  A couple of Bugs fixes for Obi Rope
Posted by: Parker - 22-09-2017, 04:24 AM - Forum: Obi Rope - No Replies

ObiRopeEditor.cs

Line 94:  Replace ;;  with  ;

Oni.cs

Line 28, Add newline and the following
[Flags]


ObiBone.cs

Line 198, restPositions cannot be re-declared as it willl have a different meaning to the restPositions above.

Line 198: change restPositions to restPositions1
Line 201: change restPositions to restPositions1

Print this item

  ovr (oculus) implementation
Posted by: satchmo - 21-09-2017, 01:50 PM - Forum: Obi Fluid - Replies (2)

Hi guys, I bought fluid, great job!
I've seen some questions in th FAQ session about vr, I think it would be great a future implementation with a oculus touch sensor ready scene, do you think you'll do it?
So, If you do, I will not try by myself :-)
thx
CArlo

Print this item

  Creating Rope in runtime
Posted by: Parker - 21-09-2017, 03:40 AM - Forum: Obi Rope - Replies (2)

Unity is running.  Meaning this is real time.  The user will not be stopping the game and creating a rope, initializing it, and putting on handles, then re-start the game.

I want this to be done during runtime and with scripts.  When I use the code, the rope DOES NOT work, it has no physics attached.  How do you get it to work.

 ObiRope Rope;
 ObiSolver Solver;
 ObiCatmullRomCurve Curve;
 ObiRopeCursor Cursor;

 private void Awake()
 {
     if (Rope == null)
         Rope = gameObject.AddComponent<ObiRope>();

     if (Curve == null)
     {
         Curve = gameObject.AddComponent<ObiCatmullRomCurve>();
         Rope.ropePath = Curve;
     }
     if (Solver == null)
     {
         Solver = gameObject.AddComponent<ObiSolver>();
         Rope.Solver = Solver;
     }

     // Configure rope and solver parameters:
     Rope.SectionThicknessScale = 0.10f;
     Rope.resolution = 1f;
     Rope.BendingConstraints.stiffness = 0.2f;
     Rope.UVScale = new Vector2(1, 5);
     Rope.NormalizeV = false;
     Rope.UVAnchor = 1;

     Rope.RestLength = 10;
     Solver.distanceConstraintParameters.iterations = 15;
     Solver.pinConstraintParameters.iterations = 15;
     Solver.bendingConstraintParameters.iterations = 1;

     // Add a cursor to change rope length:
     Cursor = Rope.gameObject.AddComponent<ObiRopeCursor>();
     Cursor.rope = Rope;
     Cursor.normalizedCoord = 0;
     Cursor.direction = true;
 }


public void InitRope()
{
    Rope.UpdateVisualRepresentation();
}

private IEnumerator CreateRope()
{
    yield return Rope.GeneratePhysicRepresentationForMesh();
}

public void UpdateRope()
{
    StartCoroutine(CreateRope());
}

Print this item