Search Forums

(Advanced Search)

Latest Threads
Collisions do not happens...
Forum: Obi Rope
Last Post: quent_1982
Yesterday, 02:12 PM
» Replies: 0
» Views: 35
Unstable chain attachment
Forum: Obi Rope
Last Post: quent_1982
Yesterday, 10:31 AM
» Replies: 13
» Views: 488
Memory leak warning with ...
Forum: Obi Fluid
Last Post: josemendez
16-05-2025, 02:07 PM
» Replies: 4
» Views: 423
the Obi cloth has some co...
Forum: Obi Cloth
Last Post: MakeLifeEasier
16-05-2025, 08:59 AM
» Replies: 3
» Views: 225
ObiCloth going through co...
Forum: Obi Cloth
Last Post: josemendez
16-05-2025, 08:10 AM
» Replies: 1
» Views: 81
Why does setting InverseM...
Forum: Obi Fluid
Last Post: nonnamed
13-05-2025, 12:41 PM
» Replies: 8
» Views: 11,816
Shaking problem when coll...
Forum: Obi Softbody
Last Post: webmagic
13-05-2025, 12:11 PM
» Replies: 6
» Views: 310
Obi Softbody IndexOutOfRa...
Forum: Obi Softbody
Last Post: Aroosh
11-05-2025, 11:37 AM
» Replies: 2
» Views: 226
Rope pinned to two dynami...
Forum: Obi Rope
Last Post: Crimson1462
09-05-2025, 07:51 PM
» Replies: 2
» Views: 301
Unity 6 Console Spam abou...
Forum: Obi Fluid
Last Post: josemendez
09-05-2025, 08:03 AM
» Replies: 3
» Views: 1,229

 
  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

  Moving Rope in runtime
Posted by: Parker - 21-09-2017, 03:32 AM - Forum: Obi Rope - Replies (1)

Unity is running.  This will happen in real time, meaning the user will not stop the program and go to the particle editor, make changes, then run the game again.

I want to move a rope from left side of screen to right side without it fly over all over the place.  I am looking for code to fix this problem.

Print this item

Pregunta WaitForAllTasks spent a lot of time!
Posted by: sunyifeng83 - 20-09-2017, 11:52 AM - Forum: Obi Fluid - Replies (15)

I have encountered a performance problem. When i simulate a faucet emitter with 1000 particles limit, the fps will drop obiviously with the particle nums adding. Finally the fps will dropped to less than 10fps. I have attached my configurations and the function WaitForAllTasks spent time. How can i get over the problem. Any help will be appreciated!



Attached Files Thumbnail(s)
       
Print this item

  White foam
Posted by: Kalidor - 19-09-2017, 03:25 PM - Forum: Obi Fluid - Replies (6)

Hello!

Is it possible to let the fluid looks like white foam (fire extinguisher)?

Thanks!
Kalidor

Print this item

  Change particle sizes over time
Posted by: Kalidor - 19-09-2017, 03:11 PM - Forum: Obi Fluid - Replies (1)

Hello!

Is it possible to scale the particles over lifetime?

Thanks!
Kalidor

Print this item

  Obi Rope - Virtual Warfighter
Posted by: lidiamartinez - 19-09-2017, 08:11 AM - Forum: Made with Obi - Replies (1)

Some time ago we received a video from a nice project. They use obi rope at around minute 1.10 of the video. You have to connect the cables to turn on the bomb.
Have a look!




Send us your stuff!

Print this item

Pregunta ObiRope 3.2 Crane - Prevent Rope from passing through spool
Posted by: tbookout - 16-09-2017, 07:10 PM - Forum: Obi Rope - Replies (5)

In ObiRope 3.2 Crane Example Scene.  If I increase the Load RigidBody Mass from 1 to 10.
Then the rope will eventually clip through pulley, with no user input.

I was unable to prevent this.  Experimenting with generating tethers, and increasing iterations in ObiSolver (Distance, Collision, Tether).

The one solution I could make work, was reload scene then:
- Increase the Load RigidBody Mass from 1 to 10.
- Increase the Crane.Pulley RigidBody Mass from 10 to 30.
- Increase the ObiSolver.Collision.Iterations from 10 to 20.


Is there a better solution?
Is there a ratio that must be maintained between rope loads and other RigidBody masses?

Print this item

  particles
Posted by: Parker - 16-09-2017, 06:56 PM - Forum: Obi Rope - Replies (2)

I would like to have a variable to adjust the size of the particle.  In the picture, the rope is smaller than the particles. 

I would like the ability to change the particle as seen below.

[Image: obirope.png]

Print this item