Search Forums

(Advanced Search)

Latest Threads
Broken scripts with updat...
Forum: Obi Rope
Last Post: hariedo
7 hours ago
» Replies: 0
» Views: 21
Garment explodes on Andro...
Forum: Obi Cloth
Last Post: CptnFabulous
19-12-2024, 07:16 AM
» Replies: 4
» Views: 658
Calculating and Reproduci...
Forum: Obi Fluid
Last Post: ZacharyP
18-12-2024, 05:49 PM
» Replies: 2
» Views: 757
Null Reference, actor not...
Forum: Obi Rope
Last Post: josemendez
13-12-2024, 12:39 PM
» Replies: 1
» Views: 140
Issue with Grasping ObiRo...
Forum: Obi Rope
Last Post: josemendez
12-12-2024, 12:00 PM
» Replies: 5
» Views: 419
Changing extruded rendere...
Forum: Obi Rope
Last Post: aderae
10-12-2024, 07:35 PM
» Replies: 2
» Views: 220
Baking a rope is causing ...
Forum: Obi Rope
Last Post: josemendez
10-12-2024, 11:06 AM
» Replies: 6
» Views: 624
Barrier belt - changing l...
Forum: Obi Rope
Last Post: josemendez
10-12-2024, 10:42 AM
» Replies: 1
» Views: 202
Path editor gizmo's appea...
Forum: Obi Rope
Last Post: josemendez
10-12-2024, 09:50 AM
» Replies: 1
» Views: 196
Problems when using multi...
Forum: Obi Cloth
Last Post: Cat3Man
09-12-2024, 03:17 AM
» Replies: 2
» Views: 270

 
  Cloth colision with mesh colliders
Posted by: felipeyounner - 23-08-2017, 06:25 PM - Forum: Obi Cloth - Replies (2)

Hi,

I need create realistic clothes in Unity, but im having some dificulties with obi colision with mesh colliders, the cloth is ignoring my colliders and entering in my model. I tried to follow some tutorials that i found about obi cloth and it doesnt make any sense why it is ignoring my colliders. Is there any component besides the obi colider group component that i need to make the collisions work?

And how do you guys make the first example on your asset store video? The one that the cloth slides trought the model? A demo scene would be awesome.

Thanks, and sorry for my bad english Sonrisa

Print this item

  What's new in Obi 3.2
Posted by: josemendez - 23-08-2017, 10:58 AM - Forum: Announcements - Replies (2)

Hi everyone,

Obi 3.2 is near completion. We haven't added much new features this time.

Instead, we took the collision system back to the drawing board and made it all better. Most of the feedback we got for previous versions had to do with the collision setup workflow, so we focused on that.

You can read the details here:
http://blog.virtualmethodstudio.com/2017...whats-new/

hope you'll enjoy it!

Print this item

  Unable to load dll "libOni" on UWP
Posted by: trujano - 16-08-2017, 06:43 PM - Forum: General - Replies (3)

Hi,

I am trying to use Obi Rope in a Windows Universal Application. I am aware that Obi Rope is not officially supported and does not build out of the box since ConvertAll is not available for Windows Phone (and thus Windows Universal). I was able to get around this and successfully build by creating my own ConvertAll method and replacing all instances with it.

However, when I try to run the application on the device the rope does not move because libOni is not loaded correctly. The exact error is

Code:
DllNotFoundException: Unable to load DLL 'libOni': The specified module could not be found
. Is there anyway I can make sure the Dll gets copied correctly?

Thanks in advance,
Fernando

Print this item

  Moving an ObiCloth GameObject by code
Posted by: matchalover - 15-08-2017, 03:04 PM - Forum: Obi Cloth - Replies (1)

It seems like we can't have movement on an ObiCloth GameObject by Unity code. I have tried to use GO.transform.position but it just move its collider not its ObiCloth component. Are there any way to make an Obi object to move?

Print this item

  Dynamic Pin Constraints?
Posted by: gxiv. - 14-08-2017, 02:04 AM - Forum: Obi Rope - Replies (4)

Hi!

What is the method for dynamically adding pin constraints to a rope??

I've tried creating an ObiPinConstraintBatch object, using the AddConstraint function, and then using AddBatch to add the pinconstraintbatch to the ropes pin constraints. I reference the pin constraints of my rope with:
pinConstraints = swingRope.GetComponent<ObiPinConstraints> ();

Is this the proper way of doing this? Because what I've written appears to have no affect! I would appreciate any help!!

gxiv

Print this item

  VR Suport
Posted by: bananalopa - 11-08-2017, 11:44 AM - Forum: Obi Fluid - Replies (2)

Hi

Does your asset support VR?

Print this item

Pregunta PS4 and XBox Platform Support
Posted by: BoloPL - 10-08-2017, 07:13 PM - Forum: General - Replies (7)

Hi,

I've a question about platform support in the near future. I've found that PS4 and Xbox could be added.
What's your plan about supporting PS4 and XBox platform, and also do you consider to support Nitendo Switch platform in the future?

I know it's holiday time, but I'll be thankful for fast replay.

Thanks, Bolo

Print this item

  Using ObiCloth with 2D objects?
Posted by: matchalover - 10-08-2017, 06:21 AM - Forum: Obi Cloth - Replies (3)

Is there possible to use ObiCloth with 2D objects? I'm trying to simulate an 2D ball with water inside for my game in Unity3D.

Print this item

  Figure out what Actor was collided with
Posted by: niZmo - 09-08-2017, 12:40 AM - Forum: Obi Rope - Replies (4)

I am going to be cutting ropes, with multiple ropes on one solver. I have a knife which tears the rope at the particle index collided with. The only problem is I don't know how to get which rope is being collided with to cut the right one. I've looked through the classes and couldn't find anything. Right now I have a public field to apply the tear to a rope. Here is the code, which is applied to the knife object.

Code:
using UnityEngine;
using Obi;

public class RopeCutter : MonoBehaviour
{
   public ObiSolver solver;
   public ObiRope rope;


   void OnEnable()
   {
       solver.OnCollision += Solver_OnCollision;
   }

   void OnDisable()
   {
       solver.OnCollision -= Solver_OnCollision;
   }

   void Solver_OnCollision(object sender, Obi.ObiSolver.ObiCollisionEventArgs e)
   {
       if (solver.colliderGroup == null) return;

       foreach (Oni.Contact c in e.contacts)
       {
           // make sure this is an actual contact:
           if (c.distance < 0.01f)
           {
               // get the collider:
               //Collider collider = solver.colliderGroup.colliders[c.other];
               
               // Cut at particle index
               
               CutRopeAtIndex(rope, c.particle);
           }
       }
   }

   void CutRopeAtIndex(ObiRope rope, int index)
   {
       // remove constraints from solver:
       rope.DistanceConstraints.RemoveFromSolver(null);
       rope.BendingConstraints.RemoveFromSolver(null);

       rope.Tear(index); // tear the fifth distance constraint.
                         // you could call Tear() as many times as you wish here.

       // add constraints to solver
       rope.BendingConstraints.AddToSolver(rope);
       rope.DistanceConstraints.AddToSolver(rope);

       // update active bending constraints:
       rope.BendingConstraints.SetActiveConstraints();

       // only for cloth: commit changes to the topology:
       // UpdateDeformableTriangles();

       // upload active particle list to solver:
       rope.Solver.UpdateActiveParticles();
   }
}

Print this item

  Fluid made up of animated sprites?
Posted by: liero116 - 08-08-2017, 09:47 PM - Forum: Obi Fluid - Replies (1)

So I need a plugin to do something fairly specific.  I think Obi Fluid might be it but I want to make sure since I can't completely tell by looking at promotional material.

Basically I need to simulate fluid, but the fluid needs to be made up of animated sprites.  It seems like I can use a mesh which means I can use a plane and attach a simple animated texture to it, but I just want to make sure this is possible before I buy.

Print this item