Search Forums

(Advanced Search)

Latest Threads
How to implement/sync Obi...
Forum: Obi Rope
Last Post: josemendez
Yesterday, 12:19 PM
» Replies: 1
» Views: 89
Collisions don't work con...
Forum: Obi Rope
Last Post: chenji
27-06-2025, 03:05 AM
» Replies: 3
» Views: 188
Force Zone apply differen...
Forum: Obi Rope
Last Post: chenji
26-06-2025, 11:41 AM
» Replies: 11
» Views: 606
Can I blend in and out of...
Forum: Obi Cloth
Last Post: josemendez
24-06-2025, 04:42 PM
» Replies: 3
» Views: 201
Using a rigidbody/collide...
Forum: Obi Cloth
Last Post: josemendez
24-06-2025, 09:29 AM
» Replies: 1
» Views: 114
Solver is too performance...
Forum: Obi Rope
Last Post: quent_1982
20-06-2025, 08:09 AM
» Replies: 40
» Views: 3,778
Obi 7 Model Scaling
Forum: Obi Cloth
Last Post: alkis
19-06-2025, 02:37 PM
» Replies: 2
» Views: 226
Obi Softbody instability?
Forum: Obi Softbody
Last Post: Aroosh
18-06-2025, 06:35 PM
» Replies: 0
» Views: 116
Tear Rod
Forum: Obi Rope
Last Post: chenji
18-06-2025, 08:34 AM
» Replies: 2
» Views: 210
Pipeline that bends
Forum: Obi Softbody
Last Post: josemendez
17-06-2025, 02:07 PM
» Replies: 11
» Views: 651

 
  Strange errors after import (clear project) and questions about perfomance
Posted by: NightFox - 12-04-2018, 04:16 PM - Forum: Obi Cloth - Replies (6)

Hello. I'm using Unity3d 2017.3.0f3 (a9f86dcd79df)

After importing, I get such warnings and errors:

Code:
Assets/Obi/Editor/ObiParticleActorEditor.cs(161,22): warning CS0618: `UnityEditor.EditorApplication.playmodeStateChanged' is obsolete: `Use EditorApplication.playModeStateChanged and/or EditorApplication.pauseStateChanged'
Assets/Obi/Editor/ObiTetherConstraintsEditor.cs(18,23): warning CS0649: Field `Obi.ObiTetherConstraintsEditor.tetherType' is never assigned to, and will always have its default value `0'
DllNotFoundException: libOni
Obi.ObiCollisionMaterial.OnValidate () (at Assets/Obi/Scripts/Collisions/ObiCollisionMaterial.cs:44)
DllNotFoundException: libOni
Obi.ObiCollisionMaterial.OnEnable () (at Assets/Obi/Scripts/Collisions/ObiCollisionMaterial.cs:27)
DllNotFoundException: libOni
Obi.ObiMeshTopology.OnEnable () (at Assets/Obi/Scripts/DataStructures/ObiMeshTopology.cs:122)
DllNotFoundException: libOni
Obi.ObiTriangleSkinMap.OnEnable () (at Assets/Obi/Scripts/DataStructures/ObiTriangleSkinMap.cs:121)
DllNotFoundException: libOni
Obi.ObiDistanceField.OnEnable () (at Assets/Obi/Scripts/Collisions/ObiDistanceField.cs:54)
This is okay?
These "DllNotFoundException: libOni" there are 256.


Physics works but not as efficiently as we would like.
I checked on intel i3, Clothstaticmeshcollider demo gives out 400-500ms for CPU.
What processor do you use?
Is the loss of performance related to the errors above?
At the same time, the Benchmark demo gives ~12ms.
Are there any best practices for better performance?

Thanks.

Print this item

  Compiler Error: Invalid Subscript _ShadowCoord
Posted by: PrismicStudios - 10-04-2018, 05:02 PM - Forum: Obi Cloth - Replies (4)

Hi there!
I bought your asset yesterday and It's wonderful if not a bit complex to figure out! I'm on Unity 2017.3.1f1.

I'm having the same error as this chap: http://obi.virtualmethodstudio.com/forum...d-293.html

But for me it's in the cloth, not the rope, and my Shaders already have the lines you instructed them to add.

Here's the complete error:


Shader error in 'Obi/Particles': invalid subscript '_ShadowCoord' at line 92 (on d3d11)

Compiling Vertex program with DIRECTIONAL SHADOWS_SHADOWMASK LIGHTPROBE_SH
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_COLORSPACE_GAMMA UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_RGBM_ENCODING


So what should I do?
Thanks!
Dano @ Prismic Studios

Print this item

  How to stop rotation of fluid at startup
Posted by: emilyyujieli - 10-04-2018, 09:52 AM - Forum: Obi Fluid - Replies (3)

Hi
Now l keep the fluid in a bucket.

How can l set the fluid from stop to rotating instead of the emission process.
The fluid is already in the bucket when l start the project.

How should l do it?

Print this item

  Obi Cloth and Obi Rope Incompatible?
Posted by: darkcser - 09-04-2018, 08:43 PM - Forum: Obi Cloth - Replies (2)

I have been using Obi Rope but when I purchased Obi Cloth today, and tried to import the Cloth package to an existing project with Obi Rope it complained that it could not overwrite the liboni.dll. I cancelled out of it but my Obi ropes no longer work, and instead generate this error message:

EntryPointNotFoundException: GetParticleAnisotropies
Obi.ObiSolver.EndFrame (Single stepTime) (at Assets/Obi/Scripts/Solver/ObiSolver.cs:557)
Obi.ObiSolver.LateUpdate () (at Assets/Obi/Scripts/Solver/ObiSolver.cs:764)

I tried installing Obi Cloth to a clean project, and that worked fine after I exited and restarted Unity but when I installed Obi Rope to the same project it started generating this error:

Assets/Obi/Scripts/Actors/ObiCloth.cs(364,18): error CS0103: The name `initialScaleMatrix' does not exist in the current context

I've tried installing Obi Rope first as well as Obi Cloth but it doesn't seem to matter. Are Obi Rope and Obi Cloth not compatible with each other? They seem to share the same install directory.

Unity 5.6.3p2, Obi Rope 3.4 and Obi Cloth 3.4.

I searched the forums but couldn't find anything regarding any special instructions for installing both.

Thanks.

Print this item

  Tether constraints for ropes with no fixed points
Posted by: khalvr - 09-04-2018, 03:48 PM - Forum: Obi Rope - Replies (2)

My greatest issue with ObiRope so far has been the fact that both rope stiffness and collision preciseness are dependent on particle resolution, and hence you have to choose between a rubbery rope with good collision, or a stiff rope which phases through and/or gets stuck around colliders. The fact that rope stretching increases the gaps between the particles further complicates this issue. Tether constraints are supposed to solve this issue, but from my understanding, they calculate distances based on fixed particles.... and this doesn't work for loose cords and ropes. 

However, i heard mentioned earlier that you can cheat your way through this by initializing tethers with fixed points and then making these points non-fixed at runtime. It seems like a hackish and cumbersome solution to me, but i'm nonetheless interested in how you'd go about this and whether it would actually work. How are tether constraints implemented internally?

Print this item

  Replace pin constraint in runtime?
Posted by: Karlanton - 09-04-2018, 12:53 PM - Forum: Obi Rope - Replies (4)

I have a rope and at both ends there is a pin constraint to two different objects. After a 'event' i would like one of the pin constraints to be attached to a new object. How do i do this? i tried copying the code from the Grappling hook scene by doing this:

https://gyazo.com/df0ab0ef81ea4b37b709bb44f62ba535

Thanks in advance for any help!

Print this item

  Performance - Solver per Cloth vs multiple Cloth per Solver
Posted by: jabza - 08-04-2018, 05:55 PM - Forum: Obi Cloth - Replies (1)

Hi,

For my application I require dynamically scaling the Cloth at runtime (Furling / lowering / raising sails). My understanding is that I should use seperate local-space solvers per cloth to achieve this.

I was wondering if there was a performance impact with this approach? IE, would 10 Solvers with 1 Cloth perform the same as 1 Solver with 10 Cloth?
Assuming the same Solver settings. There could be potentially 50+ Solvers in existence.


Thanks in advance.

Print this item

  Obi Simple Fluid Renderer Invisible
Posted by: AntLewis - 08-04-2018, 05:16 PM - Forum: Obi Fluid - Replies (8)

Hi there, I loaded the Fluid Foam example scene and changed the Obi Fluid Renderer to Obi Simple Fluid Renderer to reflect the project you had on your blog, which illustrated the updates to 3.4 (particularly the new ObiSimpleFluidRenderer).

However, after trying to get ObiSimpleFluidRenderer in my own project I'm running into issues. Although the particles are being emitted (and visible with the Obi Particlie Renderer 'Render' flag is set to true), when this flag is disabled, nothing is shown on screen.

I've attached screen shots of my emitter, solver and ObiSimpleFluidRenderer which is attached to the main camera.

Any pointers as to where I'm going wrong?

Many thanks!



Attached Files Thumbnail(s)
   
Print this item

  Trying to make Kelp
Posted by: gentlemango - 08-04-2018, 02:02 AM - Forum: Obi Rope - Replies (2)

Hi I'm trying to recreate the kelp stalks from Abzu, and I'm trying to figure out if Obi Rope is a good solution.

Video of the Abzu kelp forest

I'm not looking to have as many kelp as they do, maybe between 10-20, but I'm looking to emulate the visuals and behavior of the kelp as closely as possible.

Here is what I'm hoping to achieve:

  • Grow and shrink the kelp dynamically
  • Kelp stalks swaying
  • Leafs being pulled around by the stalks
  • Have 'current' forces that push kelp stalks and leafs around
Note that I don't need the kelp to be pushed around by the player or other moving objects, but I wouldn't mind it either.

Does that seem feasible with Obi Rope?

Print this item

  Fix particles at runtime?
Posted by: Schaeferyn - 06-04-2018, 06:45 PM - Forum: Obi Rope - Replies (1)

I've got a VR scene where a rope has one end fixed into a wall, and a user will grab the other end and move it around and plug it in to various objects in the scene.

The "wall" end of the rope has the first two particles fixed in place, and the "user" end has a pin constraint connected to a cylinder with a rigidbody/collider/VR-grabbable.

My goal is to take the last two particles on the "user" end of the rope and fix them in place when a user plugs it in, but I'm having trouble discerning if it's even possible. 

Is it possible to modify particles in this way at runtime? Is there a simpler solution that I'm simply not seeing?

Print this item