Search Forums

(Advanced Search)

Latest Threads
Ladder made by Ropes (Rat...
Forum: Obi Rope
Last Post: jaripam
5 hours ago
» Replies: 2
» Views: 31
can you remove particles ...
Forum: Obi Softbody
Last Post: aardworm
09-07-2025, 07:09 AM
» Replies: 0
» Views: 121
ObiRope Mesh Renderer
Forum: Obi Rope
Last Post: quent_1982
08-07-2025, 11:27 AM
» Replies: 4
» Views: 430
How to dynamically change...
Forum: Obi Rope
Last Post: quent_1982
08-07-2025, 06:34 AM
» Replies: 6
» Views: 608
Pipeline that bends
Forum: Obi Softbody
Last Post: josemendez
04-07-2025, 09:52 AM
» Replies: 13
» Views: 1,328
How to implement/sync Obi...
Forum: Obi Rope
Last Post: quent_1982
01-07-2025, 01:48 PM
» Replies: 2
» Views: 390
Collisions don't work con...
Forum: Obi Rope
Last Post: chenji
27-06-2025, 03:05 AM
» Replies: 3
» Views: 464
Force Zone apply differen...
Forum: Obi Rope
Last Post: chenji
26-06-2025, 11:41 AM
» Replies: 11
» Views: 1,280
Can I blend in and out of...
Forum: Obi Cloth
Last Post: josemendez
24-06-2025, 04:42 PM
» Replies: 3
» Views: 452
Using a rigidbody/collide...
Forum: Obi Cloth
Last Post: josemendez
24-06-2025, 09:29 AM
» Replies: 1
» Views: 261

 
  ParticleShader won't compile in 2021.2
Posted by: locque - 07-03-2022, 11:41 AM - Forum: General - Replies (2)

Code:
Error building Player: Shader error in 'Obi/Particles': invalid subscript '_ShadowCoord' at line 100 (on d3d11)

Compiling Subshader: 0, Pass: ParticleFwdBase, Vertex program with DIRECTIONAL LIGHTPROBE_SH SHADOWS_SHADOWMASK STEREO_INSTANCING_ON
Platform defines: SHADER_API_DESKTOP UNITY_ENABLE_DETAIL_NORMALMAP UNITY_ENABLE_REFLECTION_BUFFERS UNITY_LIGHTMAP_FULL_HDR UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BLENDING UNITY_SPECCUBE_BOX_PROJECTION UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS
Disabled keywords: DIRLIGHTMAP_COMBINED DYNAMICLIGHTMAP_ON LIGHTMAP_SHADOW_MIXING SHADER_API_GLES30 SHADOWS_SCREEN UNITY_ASTC_NORMALMAP_ENCODING UNITY_COLORSPACE_GAMMA UNITY_ENABLE_NATIVE_SHADOW_LOOKUPS UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_HALF_PRECISION_FRAGMENT_SHADER_REGISTERS 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_FULL_STANDARD_SHADER UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 UNITY_PBS_USE_BRDF3 UNITY_PRETRANSFORM_TO_DISPLAY_ORIENTATION UNITY_UNIFIED_SHADER_PRECISION_MODEL UNITY_VIRTUAL_TEXTURING VERTEXLIGHT_ON

This error always occured when trying to build the proejct for the first time after launching the 2021.2 Editor, but since 14f1 it actually prevents you from building every time. Any idea what could be going wrong here?

Print this item

  Can't get softbody to work on custom meshes
Posted by: Brainiac - 06-03-2022, 05:50 PM - Forum: Obi Softbody - Replies (2)

Hello! I'm trying to use Obi Softbody's system on some of my custom models.

I've followed the setup steps in the documentation, as well as a video I found on YouTube.
I'm not 100% sure what I'm doing wrong, I think I'm not setting the blueprints correctly..

What I'm doing is this:
I import the model, set make it readable and writeable.
Then I create a new blueprint, attach the model to the input mesh and click the generate.
After that, I create the softbody object via the editor menu button.
I attach the mesh to the SkinnedMeshRenderer and drop a material.
Then I attach the blueprint, and physics material.
Finally I click on the "bind skin" button.

This is what it looks like in real time:
With particles rendering: https://i.imgur.com/XBkOppN.mp4
Without particles rendering: https://i.imgur.com/lzQ0W3w.mp4

This is the error I'm getting when running the Unity scene:

Quote:Mesh.SetBoneWeights() failed: Vertex 521 has zero weights.
UnityEngine.Mesh:SetBoneWeights (Unity.Collections.NativeArray`1<byte>,Unity.Collections.NativeArray`1<UnityEngine.BoneWeight1>)
Obi.ObiSoftbodySkinner:SetBoneWeights () (at Assets/! Imported/Obi/Scripts/Softbody/Rendering/ObiSoftbodySkinner.cs:386)
Obi.ObiSoftbodySkinner:Setup () (at Assets/! Imported/Obi/Scripts/Softbody/Rendering/ObiSoftbodySkinner.cs:135)
Obi.ObiSoftbodySkinner:UpdateSoftBones (Obi.ObiActor) (at Assets/! Imported/Obi/Scripts/Softbody/Rendering/ObiSoftbodySkinner.cs:218)
Obi.ObiActor:Interpolate () (at Assets/! Imported/Obi/Scripts/Common/Actors/ObiActor.cs:1222)
Obi.ObiSoftbody:Interpolate () (at Assets/! Imported/Obi/Scripts/Softbody/Actors/ObiSoftbody.cs:288)
Obi.ObiSolver:Interpolate (single,single) (at Assets/! Imported/Obi/Scripts/Common/Solver/ObiSolver.cs:1641)
Obi.ObiUpdater:Interpolate (single,single) (at Assets/! Imported/Obi/Scripts/Common/Updaters/ObiUpdater.cs:122)
Obi.ObiFixedUpdater:Update () (at Assets/! Imported/Obi/Scripts/Common/Updaters/ObiFixedUpdater.cs:64)

I'd appreciate your help with this.
Thanks!

Print this item

Dedo arriba (Solved) Rigidbody at end of rope moves wildly and rope doesnt collider with objects
Posted by: NestorVG - 05-03-2022, 02:16 AM - Forum: Obi Rope - Replies (1)

Hi there, I'm starting with this asset and I wanted to create a basic scene, but I'm having some issues when implementing obi rope.

I have a rope attached to a cube in one end and a small ball in the other end. 
My goal is to be able to grab the ball and pull the box using the rope as the medium


The rope is set in a very similar way to that of the rocker (I used it as a base) and I think I have setup everything correctly so I don't know why is the rope and the attached object behaving in such a weird way. I have installed Jobs and burst so it's able to use the burst backend and there are no warnings or anything.

This video shows what I am referring to and how the objects are set in the scene 
https://youtu.be/NvAVUcajIOU



Trivia:
I want to be able to grab the small ball using my own scripts that are already working with normal rigidbodies of they are in layer 20 (grabbable) This part already works with other rigidbodies and isn't giving me any problems when not using a rope, the code parents the transform of the RB to an object in the player's hierarchy and modifies some fields of the RB (drag is set to 10, uses gravity = false) and then applies forces so that the RB is in the desired position while hold until thrown (then, its parent is set to null, the drag and gravity are restored)





Edit: Thanks for the response, you made me realize that those warnings and mentions about the rope being inside of colliders were because of the rope getting inside of the things it was supposed to attach to, now I understand that's how it was, I though that it was related with external meshes interfering with the rope.

With that I was able to fix it, thanks a lot!



Attached Files Thumbnail(s)
   
Print this item

  Mesh not visible
Posted by: lucass - 03-03-2022, 09:04 PM - Forum: Obi Softbody - Replies (10)

Hello, I am going to have 15-20 softbodies in my scene. So I'm trying to reduce particle count for better performance. When I change vertices count to 18 to 8 my softbodies meshes become invisible. For each of them I clicked the bind skin button. I have particle renderer on my softbody objects. I hope you can help. My blueprint settings are resolution 48, max anisotropy 5, smoothing 1.

Print this item

  Teleport attachment to the transform target
Posted by: lufydad - 02-03-2022, 01:40 PM - Forum: Obi Rope - Replies (8)

Hi,

I'm attaching control point in runtime and I want to move the position of the control point to the position of the transform to which it is attached.
What is the simple way to move the control point from script ?

(I know it'll add a lot of kinetic energy to the rope resulting in unwanted motion)

Print this item

  Solver Rotation
Posted by: 0xhex - 02-03-2022, 10:06 AM - Forum: Obi Fluid - Replies (4)

Hello,my solver is inside the game object, when I rotate the game object also emitted particles are rotating around the game object.

Is there any solution about it?

 I need to use emitter inside the game object because when I rotate the character also emitter should rotate. solver does not work if emitter is not child of solver.

Please check the video.

Print this item

  Obi Softbody - Stop Movement
Posted by: alms94 - 01-03-2022, 05:13 PM - Forum: Obi Softbody - Replies (2)

[Image: dADDnn.png]
  Hello, thanks for this amazing tool. It's very fun to use. I have some questions, I hope you can help.

1)I'm making a game like 3D Tetris. At start i want some objects to stay together like in the photo. But when I press play they are not standing together, they probably collides with eachother and goes away. 

2)The cubes are not standing on the ground, they act like they are on the ground, but they aren't. How can I solve these? Thanks for your help.
[Image: Yg5GOY.png]

Print this item

  No Collision Contact
Posted by: 0xhex - 01-03-2022, 09:46 AM - Forum: Obi Fluid - Replies (2)

Hello, I have just implemented obi default fluid system but it looks like no collision.

The hit object has obi collider script and I use default collision event handler script

but in the console output there is nothing!

Here the screenshot ; 

https://www.dropbox.com/s/9e0x9jmv891971...0.png?dl=0

Print this item

  Cloth Shrinking in Play Mode
Posted by: kingceryn - 28-02-2022, 05:19 AM - Forum: Obi Cloth - Replies (5)

I'm trying to recreate the Boat example with my own meshes, and for some reason my Sail mesh is shrinking when i enter play mode.  I'm pretty sure i have the constraints setup properly, and the parenting to the Mast pivot, but the Sail itself shrinks down and i cant figure out why.

The mesh scale is 1,1,1 
https://www.youtube.com/watch?v=VikMrIx7YNc

Print this item

  ObiSphereShapeTracker Error
Posted by: 0xhex - 26-02-2022, 01:14 PM - Forum: Obi Fluid - Replies (1)

Hello,sample scene of obi fluid is working,
After I upgraded obi fluid package,I am getting error and no particles available in my scene.

Here the problems

@lidiamartinez

https://www.dropbox.com/s/gxeyht31ftxzv8...8.png?dl=0

https://www.dropbox.com/s/caalorqefinq2q...5.png?dl=0



I copied and pasted Solver from sample scene, but still it is not working

Print this item