Search Forums

(Advanced Search)

Latest Threads
ObiBone on a tiny creatur...
Forum: Obi Rope
Last Post: Lighbreak
Yesterday, 12:37 PM
» Replies: 1
» Views: 110
Pre-purchase: Four 60m fi...
Forum: Obi Rope
Last Post: josemendez
25-11-2026, 11:52 AM
» Replies: 1
» Views: 712
When To Add New Obi Solve...
Forum: Obi Rope
Last Post: josemendez
24-11-2026, 03:46 PM
» Replies: 1
» Views: 1,016
Could i implement viscous...
Forum: Obi Fluid
Last Post: josemendez
16-11-2026, 01:03 PM
» Replies: 1
» Views: 731
Substep-dependent normalI...
Forum: Obi Rope
Last Post: josemendez
11-11-2026, 05:50 PM
» Replies: 4
» Views: 1,790
How to make a phone wire
Forum: Obi Rope
Last Post: Ivango7599
06-11-2026, 08:09 PM
» Replies: 8
» Views: 22,966
Crash when building for C...
Forum: Obi Rope
Last Post: gnovos
01-11-2026, 01:52 AM
» Replies: 0
» Views: 794
Collisions pass through m...
Forum: Obi Softbody
Last Post: TubbyCrumbles
18-10-2026, 03:21 PM
» Replies: 0
» Views: 864
2D URP Renderer
Forum: Obi Fluid
Last Post: josemendez
16-10-2026, 08:32 AM
» Replies: 1
» Views: 1,115
Obi 8 feature list
Forum: Announcements
Last Post: Qriva0
14-10-2026, 09:10 AM
» Replies: 5
» Views: 2,147

 
  Help with Grappling Hook Implementation
Posted by: Cyric - 25-12-2017, 06:25 AM - Forum: Obi Rope - Replies (1)

Hello, first off, I want to say how impressed I am with Obi Rope's performance, stability, and looks. You're doing a great job!

So I'm *attempting* to use it in a less traditional fashion to create something similar to a Grappling Hook Gun. The player fires a projectile which attaches to other objects in the scene, and the player then swings around (in 3D) using Obi Rope rigid body physics.

I'm currently stuck at even getting the projectile to fire from the "gun" with the rope attached to behave properly. I've pinned the ends of the rope to the projectile (rigidbody) and the player (rigidbody) and added a cursor to the players side.

I've done basically what's in the code below and was hoping it would do the trick, but the projectile seems to just spring back and act unpredictably. Not to mention the cursor length extension doesn't seem to keep up when used this way.

Code:
bool fired = false;

void Fire()
{
  fired = true;
  // Add force to projectile's rigidbody
}

void FixedUpdate()
{
   if(fired)
     cursor.ChangeLength((gunBarrel.position - projectile.position).magnitude);
}
Before using a fired projectile, I had used similar code to create a dynamic length rope between two objects that I moved by hand in the editor and it seemed to work well enough.
Any tips on how I should go about implementing this?

Print this item

  Cloth Constraint Settings Reverting on Play [Solved]
Posted by: virtushda - 24-12-2017, 08:38 PM - Forum: Obi Cloth - Replies (1)

Title ^
I've restarted Unity, and it still will not keep any changes to my skin radius settings.

Is there anything that might cause this to happen? I don't consider redoing the whole setup to be a viable option.  Confundido

Print this item

Gran sonrisa Feature Request - Collision Enhancements
Posted by: virtushda - 24-12-2017, 02:40 PM - Forum: Obi Cloth - Replies (2)

With the Unity's Cloth component still sucking(even after the 2017.3 update), I thought I'd bring up a couple collision-related things it seems to do better, in hopes that you might be able to add them.  Gran sonrisa

From my impressions, these are two features Unity Cloth appears to have that ObiCloth appears not to have:

  1. Virtual Particles: Adds one virtual particle per-triangle to increase collision stability.
  2. Normal-based Rejection(what I'm calling it): Unity Cloth seems to handle high-speed collisions far better, especially if they screw up, particles are quickly ejected along the closest surface normal(or perhaps the last encountered surface-normal they encountered). It also appears like there may be a position bias to this function so that collider's movement in-between physics time-steps is taken into account. At least, this is my impression of what it's doing.

Edit: While trying to fix my new problem(other thread), I ran into one of Jose's old posts about how primitive colliders aren't "hollow", so my second request may be pointless as I was referring to collision with primitives. However, the PhysX-based cloth still handles collisions much better. Maybe I need more collision iterations? But then why would it take more than one iteration to "project" to the outside of the collider? Only more questions... Huh

Print this item

  Fluid Performance: Primitive Colliders vs Mesh Colliders
Posted by: writer51 - 24-12-2017, 03:55 AM - Forum: Obi Fluid - Replies (4)

I was wondering if there is documentation anywhere regarding the performance of obi on primitive vs mesh colliders. I seem to be getting a very noticeable performance drop in editor from subscribing to collisions on a mesh collider vs primitive colliders (tested boxes, capsules - all seem fine). Is this just a natural consequence of using mesh colliders- just seem strange, I go from 135 fps with primitives down to 40 fps with mesh collider, everything else being the same.

Print this item

  Metaball Effects ?
Posted by: Ca935 - 24-12-2017, 12:01 AM - Forum: Obi Fluid - Replies (1)

Hello 

I am using unity to create a 360 spherical VR movie (rendered frames). I need a metaball / blobmesh like effect where spheres of fluid emerge from a wall of fluid. The spheres that have emerged are captured by animated characters and hauled away. Does this sound like a job for Obi fluid ? I am imagining constraining the fluid particles to an object that I can animate to guide the motion of the blobs so I can then link to the characters. I have only a few hours in with Obi so far and see some very nice results. If some one could suggest a workflow or tell me that this isn't the right tool. That would be incredibly helpful. Also can the fluid renderer cast shadows?

Cheers

Ca935

Print this item

  I have a problem of the Obi tearable cloth Plugin.
Posted by: james3302 - 22-12-2017, 08:08 AM - Forum: Obi Cloth - Replies (1)

Hey guys, I have a problem of Obi tearable cloth. Version is Unity 2017.2.0f3 (64bit). 

I wish to modify the subordination mesh at Runtime, but when I modify GetComponent<Mesh Filter>(). mesh on Runtime, can't apply cloth Rigidbody.

Where should I find the modifiable Mesh on Runtime?

Thanks.

Print this item

  Sample Scene Errors - Unity Version 2017.3.0f3
Posted by: dgooding - 21-12-2017, 12:03 AM - Forum: Obi Rope - No Replies

Heyo

Just picked up Obi Rope today.
there were some errors with the sample scenes, so I tried just throwing the asset on an isolated project by itself, and am still getting the error.

line 408
ObiSolver.cs

the particleIndices array length is longer than the CurrentActor.active length, so it is getting Array index is out of range.

I tried just breaking the loop if was beyond the actor length, but that produces some strange results.



Daniel

Print this item

  Installation Issue Unity 2017.3.0F3
Posted by: DemeterDKD - 19-12-2017, 07:52 PM - Forum: Obi Cloth - Replies (2)

I received this error while importing Obi Cloth into my project

Assets/Obi/Rendering/ShadowmapExposer.cs(8,8): error CS0108: Warning as Error: `Obi.ShadowmapExposer.light' hides inherited member `UnityEngine.Component.light'. Use the new keyword if hiding was intended

Because of this error I cant start my game any more Triste

Any thoughts on how I can fix this?

Print this item

  Garbage from subscribing to collision events
Posted by: writer51 - 16-12-2017, 11:16 PM - Forum: Obi Fluid - Replies (18)

Can we have a conversation about the ridiculous amount of garbage that is generated from subscribing to collision events. I've seen anywhere from 25-30kb to 200-300kb on almost every frame just by subscribing to collision events. I've tried e-mailing support but no solution was ever provided. Is there nothing you fine programmers at Obi can do to fix this? There is no way you can have this much garbage generating over and over without crashing performance. This is a ridiculous price (and practically unusable one) to pay for getting some information from collisions. I implore you to please take a look.

Print this item

  Standard (Backfaces) Shader not shading front faces
Posted by: aaronfjerstad - 12-12-2017, 12:40 AM - Forum: Obi Cloth - Replies (1)

I'm working on some clothing that looked weird because back faces weren't rendering, so I used the Standard (Backfaces) shader. As soon as I did, the front faces stopped drawing:

https://imgur.com/a/KJwAD

I'm running the latest stable version of Unity 2017, on Windows 10, using DirectX11, and the skirt model has no thickness.

Print this item