Search Forums

(Advanced Search)

Latest Threads
How to implement/sync Obi...
Forum: Obi Rope
Last Post: quent_1982
01-07-2025, 01:48 PM
» Replies: 2
» Views: 117
Collisions don't work con...
Forum: Obi Rope
Last Post: chenji
27-06-2025, 03:05 AM
» Replies: 3
» Views: 209
Force Zone apply differen...
Forum: Obi Rope
Last Post: chenji
26-06-2025, 11:41 AM
» Replies: 11
» Views: 643
Can I blend in and out of...
Forum: Obi Cloth
Last Post: josemendez
24-06-2025, 04:42 PM
» Replies: 3
» Views: 211
Using a rigidbody/collide...
Forum: Obi Cloth
Last Post: josemendez
24-06-2025, 09:29 AM
» Replies: 1
» Views: 123
Solver is too performance...
Forum: Obi Rope
Last Post: quent_1982
20-06-2025, 08:09 AM
» Replies: 40
» Views: 3,921
Obi 7 Model Scaling
Forum: Obi Cloth
Last Post: alkis
19-06-2025, 02:37 PM
» Replies: 2
» Views: 234
Obi Softbody instability?
Forum: Obi Softbody
Last Post: Aroosh
18-06-2025, 06:35 PM
» Replies: 0
» Views: 125
Tear Rod
Forum: Obi Rope
Last Post: chenji
18-06-2025, 08:34 AM
» Replies: 2
» Views: 225
Pipeline that bends
Forum: Obi Softbody
Last Post: josemendez
17-06-2025, 02:07 PM
» Replies: 11
» Views: 692

 
  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

  Scripting Questions
Posted by: Parker - 13-09-2017, 05:11 AM - Forum: Obi Rope - Replies (6)

I am using parts of grappling hook to create rope.

********************************
How do you make sure the particles are turned on.  The obi Solver shows 0 particles.

********************************
When you are moving the end of rope, how do you FREEZE start/end prefab.  They tend to juggle around.

Is there a script that forces the object to follow the camera?

********************************

What is the best way to prevent wires from clipping through walls.

what about setting the obi collider thickness to 0.1?

Print this item

  Preventing ropes from crossing the stream
Posted by: Parker - 13-09-2017, 04:57 AM - Forum: Obi Rope - Replies (1)

How do you prevent 2 ropes from clipping inside of each other.

The way it works, the point where the hoses cross, they sit inside of each other.

We are looking to have 2 fire hoses and 1 hose sits ON TOP of the other.

Print this item

  Adding Pin Constraint in Unity 2017.1.0f3
Posted by: echer - 12-09-2017, 05:11 PM - Forum: Obi Rope - Replies (1)

Trying to add a pin constraint and it will not allow me to add an object to the Pinned To: Parameter... it acts like nothing is in the scene at all...


I have created a cube and added the Rigid Body to it

Print this item

  ObiRope 3.2 Importing to Project Error
Posted by: leonrdo - 12-09-2017, 02:54 PM - Forum: Obi Rope - Replies (2)

I'm getting this message when trying to import the ObiRope 3.2 from the store. The current project has already the previous ObiRope.
It says "access denied"

[Image: Jwt7Ng4.png]

Print this item

  Grabbing Rope
Posted by: Parker - 12-09-2017, 04:10 AM - Forum: Obi Rope - Replies (2)

I am having problems with grabbing rope, I copied the ball and chain. 

I added a cube, attached the obi handle and it does not work.

Do I need to add the canvas with the words??

Print this item

  Changing fluid emitter scale
Posted by: BYNUMDAV - 11-09-2017, 12:02 AM - Forum: Obi Fluid - Replies (7)

Hello,

I am modifying the faucet scene for VR and have a problem with the scale of the little fluid spheres that make up the simulation. When I view the scene in VR its really huge, so I am wanting to scale it all down. When I attempt to scale down the radius of the Obi particle renderer, the whole simulation fluid simulation does not look right, as if there is space between the particles. The default scale is set to 1.5, and anything below 1 looks terrible. Any help would be greatly appreciated.

Thanks

Print this item

  ObiRope 3.2 Collision Position
Posted by: tbookout - 10-09-2017, 07:53 PM - Forum: Obi Rope - No Replies

These are changes I made to determine where a Rope particle hit a Unity Collider in 3.2.
If someone has better solution please chime in!

Code:
 void Solver_OnCollision(object sender, Obi.ObiSolver.ObiCollisionEventArgs e)
   {
       foreach (Oni.Contact contact in e.contacts)
       {
           if (contact.distance < 0.01)
           {
               //Collider collider = solver.colliderGroup.colliders[contact.other];  **Obi 3.1
               Collider collider = ObiCollider.idToCollider[contact.other] as Collider;
               ObiSolver.ParticleInActor pa = solver.particleToActor[contact.particle];

To get ObiRope = pa.actor
To get index of Particle = pa.indexInActor,
To get collision point of Collider = collider.transform.InverseTransformPoint(contact.point));
(I use the above to Pin particle to object that was collided with)

To get ObiCollider = collider.gameObject.GetComponent<ObiCollider>();


               
*EDIT* Just noticed that niZmo's code works for 3.2 as well.  You can find a complete solution here: ObiRope 3.2+ and VRTK 3.3.0 alpha+

Print this item

  Obi for Blender (I know it's a long shot but...)
Posted by: virtushda - 09-09-2017, 04:04 AM - Forum: Obi Cloth - Replies (3)

Sorry to bother you with my fantasy, but is there any chance of this turning into an addon(paid or otherwise) for Blender?

ObiCloth is so much faster than the cloth sim in Blender, and better quality in many ways. I would buy ObiCloth again if I could use it in Blender.

Print this item

  Save Rope State
Posted by: ptrick - 08-09-2017, 11:59 PM - Forum: Obi Rope - Replies (5)

Has anyone been able to successfully save the state of a rope and load it correctly? I was told to pull the position and velocity arrays and serialize those and then set them again and push the data but that doesn't seem to work - the rope goes crazy at the start.

I would love to see an example of saving rope state that also takes into account any potential lengthening from a rope cursor.

Thanks!

Print this item