Search Forums

(Advanced Search)

Latest Threads
Scripting rod forces
Forum: Obi Rope
Last Post: josemendez
Yesterday, 03:28 PM
» Replies: 24
» Views: 2,264
Burst error causing crash...
Forum: Obi Rope
Last Post: josemendez
Yesterday, 07:03 AM
» Replies: 1
» Views: 79
Controlling speed of emit...
Forum: Obi Fluid
Last Post: josemendez
06-09-2025, 06:29 AM
» Replies: 1
» Views: 296
Looks nice on editor but ...
Forum: Obi Fluid
Last Post: josemendez
04-09-2025, 07:20 AM
» Replies: 3
» Views: 592
How to Shorten or Scale t...
Forum: Obi Rope
Last Post: josemendez
02-09-2025, 09:53 AM
» Replies: 5
» Views: 676
The Limitation of Using O...
Forum: Obi Rope
Last Post: josemendez
01-09-2025, 10:30 PM
» Replies: 1
» Views: 437
Bug Where a Straight Segm...
Forum: Obi Rope
Last Post: josemendez
01-09-2025, 08:46 PM
» Replies: 1
» Views: 434
Having an issue with obi ...
Forum: Obi Rope
Last Post: Ben_bionic
29-08-2025, 04:23 PM
» Replies: 4
» Views: 890
Non-uniform particle dist...
Forum: Obi Rope
Last Post: chenji
29-08-2025, 09:05 AM
» Replies: 4
» Views: 763
Is it possible to impleme...
Forum: Obi Rope
Last Post: chenji
27-08-2025, 10:13 AM
» Replies: 2
» Views: 694

 
  Twisted Bones
Posted by: Jawsarn - 15-03-2025, 10:35 PM - Forum: Obi Rope - No Replies

Hello again.

I'm triyng out the bones for a tail for a character. I have set torsion compliance to 0, but even so the bones seems to roll into a twisted shape after some jumping movement is made.
The setup also seems to have some twistedness going on, even though only the root has a rotation. Is this intended behaviour?

Best regards,



Attached Files Thumbnail(s)
   
Print this item

  [Fixed] ProceduralInstanced.shadergraph build error on Unity 6
Posted by: marzand - 14-03-2025, 06:07 PM - Forum: General - No Replies

I encountered an error on building my project in Unity 6000.0.0.41f. 

in ObiMaterials/Common/Instanced/Compute/ProceduralInstanced.shadergraph:

Code:
'SampleShadow_ComputeSamples_Tent_5x5': cannot convert output parameter from 'min16float[9]' to 'float[9]'
Compiling Subshader: 0, Pass: ShadowCaster, Vertex program with PROCEDURAL_INSTANCING_ON SHADOWS_DEPTH
Platform defines: SHADER_API_DESKTOP UNITY_ENABLE_DETAIL_NORMALMAP UNITY_ENABLE_REFLECTION_BUFFERS UNITY_LIGHTMAP_FULL_HDR UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_PASS_SHADOWCASTER UNITY_PBS_USE_BRDF1 UNITY_PLATFORM_SUPPORTS_DEPTH_FETCH UNITY_SPECCUBE_BLENDING UNITY_SPECCUBE_BOX_PROJECTION UNITY_UNIFIED_SHADER_PRECISION_MODEL UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS
Disabled keywords: INSTANCING_ON SHADER_API_GLES30 SHADOWS_CUBE UNITY_ASTC_NORMALMAP_ENCODING UNITY_COLORSPACE_GAMMA UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_HARDWARE_TIER1 UNITY_HARDWARE_TIER2 UNITY_HARDWARE_TIER3 UNITY_LIGHTMAP_DLDR_ENCODING UNITY_LIGHTMAP_RGBM_ENCODING UNITY_METAL_SHADOWS_USE_POINT_FILTERING UNITY_NO_DXT5nm UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_VIRTUAL_TEXTURING _CASTING_PUNCTUAL_LIGHT_SHADOW

The fix was easy enough to find. Turns out in the graph, the position input node has its precision set to single, while the other nodes are set to inherit. Setting it to inherit fixes the mismatched precision issue.

Print this item

  2 Rendering bugs on iOS(Metal)
Posted by: cliv3dev - 14-03-2025, 03:42 PM - Forum: Obi Fluid - Replies (2)

Hi,



I am reporting 2 rendering bugs for Obi Fluid on iOS.



Unity 2022.3.60

URP or SRP

iOS v18.3.2

iOS SDK: 18.2

Obi Fluid [7.0.5]

Solver backend: Compute (GPU) and Burst(CPU)

Test scene: FluidViscosity



When running on iOS, 

1. test scene with Burst backend, there is a black color issue in the transparent fluid rendering (same bug in SRP or URP), see screenshot 20250314_135736000_iOS.png


2. test scene with Compute backend, fluid rendering starts with the same look as Burst and with same black color bug but after 2 or 3 seconds, the fluid mesh explodes, see screenshot 20250314_140447000_iOS.png



I built on PC (DX11) and Meta Quest (Vulkan), and the rendering presents no bug at all : com.oculus.vrshell-20250314-153625.jpg



So, seems to be an issue with Metal API...

Hope this helps !



Attached Files Thumbnail(s)
           
Print this item

  How to fix both ends when using bones for a ObiRope?
Posted by: kodra - 14-03-2025, 10:57 AM - Forum: Obi Rope - Replies (5)

As this example in document shows, ObiRope can be fixed on both ends, leaving only the middle part free.

But I can't figure out how to integrate with a character with bone hierarchy. For example, in this example the dragon's tail is made of 12 bones. In this case, how to make only the first (root) and last (tip) bones follow a predefined animation, while let the middle part solved by Obi?

I guess I need to use an attachment, but I'm not sure how to set it up with bones...

Print this item

  Obi Physics Suite (all 4 assets in one)
Posted by: josemendez - 13-03-2025, 09:35 AM - Forum: Announcements - No Replies

Hi!

One question I get asked often is whether there's any way to get all Obi assets as a single, discounted package. So I decided to bundle them all up in a single asset:

Obi Physics Suite.

It contains all 4 assets (Obi Rope, Obi Cloth, Obi Softbody and Obi Fluid) preinstalled together for 179$ instead of the 199$ it costs to buy them separately. It also contains 3 new sample scenes that make combined use of all assets.

I believe a 10% discount is significant enough for it to be an interesting option if you were planning to buy all assets anyway, but not large enough that it heavily penalizes those of you that have already purchased them separately. It's also useful to be able to import all 4 assets at once if you often find yourself using them together, the full bundle is 30 Mb while they separately range between 6 and 17 Mb so it doesn't add much bloat.

If you recently purchased 2, 3  or all Obi assets separately and would like to get the bundle instead, drop me an email to support(at)virtualmethodstudio.com. I may be able to refund your purchases so you can benefit from the 10%.

Let me know if you have any feedback and/or suggestions.

Print this item

  Scaled SkinnedCloth not matching
Posted by: Jawsarn - 11-03-2025, 10:38 PM - Forum: Obi Cloth - Replies (3)

We have a setup of a animated character with a scarf. The scarf gameObject has a scale to it of 100.
If I leave the scale to default on the Skinned Cloth Blueprint the mesh gets sized down when running.
If I scale it up with same factor, it seems to be offsetted forward a slight bit and partly scaled up.

I can "solve" it by scaling up the model in the import setting by the same factor, but this solution will break once we want physics on another object to with a different scale.
Is this a known issue and is there any solution at hand?

Print this item

  Runtime generated SDF
Posted by: goosejordan - 10-03-2025, 09:56 PM - Forum: General - Replies (2)

What would be the best approach for acheiving a HD sdf collision map close to the player? I would love to reach a resolution of 1-5 centimeters (in a VR setting).

I'm working on a smooth voxel system with detailing through tesselation and displacement. Next up for me is generating this HD collsion map but I'm stumped at finding a solution here.
So far the implemented process is:

  1. Have a low resolution SDF field
  2. Generate mesh from SDF
  3. Unwrap mesh UV's and apply virtual texturing
  4. Use tesselation+displacement when rendering. It now looks HD and photorealistic!
I will have to figure out a way to make a custom SDF collider that Obi can use.
It needs to be runtime and on demand as chunks are loaded and LOD changed. I know of the method from the Unity demo team. I could likely do this or something similar, but with some virtual volume method so that i only resolve high definition close to geometry.

At some point I need to stop the flood-fill propagation of distances if nothing else at the seams between high resolution and low resolution. How mathematically accurate does the SDF need to be for Obi to work properly? Is accuracy most important close to zero or does it have to be seamless?

Print this item

  Mass
Posted by: josemendez - 10-03-2025, 09:11 AM - Forum: Announcements - No Replies

Hi!

I've added some explanation/tips about mass to the manual:
https://obi.virtualmethodstudio.com/manu....html#mass

This is a common topic that pops up in support very often, so I tried to condense the top 3 takeaway points.

any feedback is welcome! Sonrisa

kind regards

Print this item

  Reset Rope without Movement / Physics
Posted by: vrtraining - 10-03-2025, 07:21 AM - Forum: Obi Rope - Replies (1)

I need to reset the rope to its initial position. My rope is attached to and object and I have moved that object. Now when I reset my object back the rope swings all the way back due to solver and physics. I just want to reset the rope as I reset my attached object. I'm currently using the solution I got from this forum

Code:
rope.RemoveFromSolver();
rope.ClearState();
rope.AddToSolver();
while (!rope.isLoaded) yield return new WaitForEndOfFrame();
ropeCursor.ChangeLength(initialLength - rope.restLength);

This solution was working well in Obi 6 but in Obi 7 its starting to add swing. How I can reset it back to blueprint one without any physics. I just want the rope with its length and particles to reset to its original starting position without any animation or swing along the way. How I can do that?

Print this item

  rope settings
Posted by: 3dship - 06-03-2025, 08:30 AM - Forum: Obi Rope - Replies (1)

Hello

What I want to do is really simple but I couldn't solve it because I'm a beginner. To tie the ship to the land with a rope. I create an obi solver and tie the ship. The ship is big and has a high volume, about 700,000 mass. When I move the ship, the rope constantly stretches and doesn't hold the ship. I couldn't figure out what other settings I should make and what I'm missing.

I switched the one that attaches the rope to the boat to dynamic. The one on land is static. other settings are default.

I'd be glad if you could help.
Thank you.

Print this item