Search Forums

(Advanced Search)

Latest Threads
Broken scripts with updat...
Forum: Obi Rope
Last Post: hariedo
Yesterday, 10:35 AM
» Replies: 0
» Views: 37
Garment explodes on Andro...
Forum: Obi Cloth
Last Post: CptnFabulous
19-12-2024, 07:16 AM
» Replies: 4
» Views: 661
Calculating and Reproduci...
Forum: Obi Fluid
Last Post: ZacharyP
18-12-2024, 05:49 PM
» Replies: 2
» Views: 759
Null Reference, actor not...
Forum: Obi Rope
Last Post: josemendez
13-12-2024, 12:39 PM
» Replies: 1
» Views: 157
Issue with Grasping ObiRo...
Forum: Obi Rope
Last Post: josemendez
12-12-2024, 12:00 PM
» Replies: 5
» Views: 446
Changing extruded rendere...
Forum: Obi Rope
Last Post: aderae
10-12-2024, 07:35 PM
» Replies: 2
» Views: 236
Baking a rope is causing ...
Forum: Obi Rope
Last Post: josemendez
10-12-2024, 11:06 AM
» Replies: 6
» Views: 640
Barrier belt - changing l...
Forum: Obi Rope
Last Post: josemendez
10-12-2024, 10:42 AM
» Replies: 1
» Views: 213
Path editor gizmo's appea...
Forum: Obi Rope
Last Post: josemendez
10-12-2024, 09:50 AM
» Replies: 1
» Views: 210
Problems when using multi...
Forum: Obi Cloth
Last Post: Cat3Man
09-12-2024, 03:17 AM
» Replies: 2
» Views: 286

 
  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 (13)

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