Search Forums

(Advanced Search)

Latest Threads
Ladder made by Ropes (Rat...
Forum: Obi Rope
Last Post: josemendez
2 minutes ago
» Replies: 1
» Views: 6
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: 425
How to dynamically change...
Forum: Obi Rope
Last Post: quent_1982
08-07-2025, 06:34 AM
» Replies: 6
» Views: 598
Pipeline that bends
Forum: Obi Softbody
Last Post: josemendez
04-07-2025, 09:52 AM
» Replies: 13
» Views: 1,322
How to implement/sync Obi...
Forum: Obi Rope
Last Post: quent_1982
01-07-2025, 01:48 PM
» Replies: 2
» Views: 387
Collisions don't work con...
Forum: Obi Rope
Last Post: chenji
27-06-2025, 03:05 AM
» Replies: 3
» Views: 461
Force Zone apply differen...
Forum: Obi Rope
Last Post: chenji
26-06-2025, 11:41 AM
» Replies: 11
» Views: 1,272
Can I blend in and out of...
Forum: Obi Cloth
Last Post: josemendez
24-06-2025, 04:42 PM
» Replies: 3
» Views: 448
Using a rigidbody/collide...
Forum: Obi Cloth
Last Post: josemendez
24-06-2025, 09:29 AM
» Replies: 1
» Views: 260

 
  Obi Fluid Not Showing in Mac Build
Posted by: coopal00ps - 25-02-2022, 08:40 PM - Forum: Obi Fluid - Replies (6)

Hi there, I'm a new user of Obi Fluid, and it's been amazing so far! Thanks for making such an amazing tool. I'm currently working on a 2D game project in Unity that uses Obi Fluid, and I've run into a weird issue that is specific to Mac builds of my project. When I preview the game in Unity, I can see the obi fluid simulation just fine. However, when I create a Mac build and play the build, the fluids don't show up. Also interesting to note - the fluid DOES show up in a Windows build of the game. It's only the Mac build where I seem to be having the issue.

A few other notes about my project:

- Using Unity 2020.3.26f1
- Using the standard render pipeline
- Have tried both Burst and Oni solver modes, and neither change the end result in the Mac build
- Building and running on a 2015 Macbook Pro using macOS Big Sur v11.6.4

Happy to answer any more questions to help diagnose the issue. Any help would be extremely appreciated! Thanks!

Print this item

  Grabbing rope and releasing it at a specific point
Posted by: sy1997 - 25-02-2022, 06:10 PM - Forum: Obi Rope - Replies (1)

Hello, I am very new to Obi Rope. There is a pulley object in my 3D scene. My player should grab the end of the rope when it collides with pulley and carry the rope in its hand. And when it collides with target object it should place the rope to a specific point on the target object.

My rope has 2 Obi Particle Attachments. One of them is attached statically to the pulley. When I collide with pulley, I set the 2nd dynamic attachment target to my player's hand transform in script, but I get the error below.

What's wrong with my approach ?

ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

Print this item

  In which space are external forces applied ?
Posted by: lufydad - 25-02-2022, 02:15 PM - Forum: Obi Rope - Replies (2)

Hi,

I'm adding some external forces to particles based on documentation http://obi.virtualmethodstudio.com/manual/6.3/scriptingparticles.html.
But, it's not specified in which space the forces are applied. I supposed based on the other variables, that it's applied in local space of the solver, could you confirm (or not) this information ?

Print this item

  Define Particle Position without inertia
Posted by: promero - 24-02-2022, 10:35 PM - Forum: Obi Softbody - Replies (3)

I try to generate a save and load function for softbody object.
For that, I save on json file all particle positions.

When I load it, I define the position of each particle with velocity to zero.
I know that to keep positions I must define invMasses to zero.

If I do it works, because softbody particles are fixed.

My problem is that I don't want to fix the particles, particles must move depending ObiParticleAttachment.

What I need is to open the softbody on same position that I save before, and particles must be without movement, until I interact with ObiParticleAttachment elements.

In theory if velocity is zero, particles must keep positions but my softbody particles move a lot until loose inertial energy.

Any advice or help is appreciated.

Thanks

Print this item

  Weird direction in 2D Mode
Posted by: hergen - 24-02-2022, 04:37 PM - Forum: Obi Softbody - Replies (3)

Hello,

I am trying to build a game in unity using your softbody asset in 2D Mode.

I want a circular softbody, so I created a mesh for that and created a blueprint (settings in screenshots).
However, when I set everything up and start the game, the softbody circle turns inside out and acts normally afterwards.

How can I fix this?

Thank you in advance.

settings:
[Image: zmVqs1X]

the effect:
[Image: lfeuI8R]

Print this item

  [BUG] Exception when trying to generate blueprint with surface vertices
Posted by: JanikH - 24-02-2022, 03:49 PM - Forum: Obi Softbody - Replies (3)

Hi,

I just updated to Obi Softbody 6.4 and I'm trying to generate a new blueprint with the "Vertices" mode for surface sampling.
I did a clean package import and regardless of which mesh I select, the following exception always occurs:

Quote:IndexOutOfRangeException: Index was outside the bounds of the array.
Obi.ObiSoftbodySurfaceBlueprint+<SurfaceMeshShapeMatchingConstraints>d__53.MoveNext () (at Assets/Obi/Scripts/Softbody/Blueprints/ObiSoftbodySurfaceBlueprint.cs:620)
Obi.ObiSoftbodySurfaceBlueprint+<Initialize>d__38.MoveNext () (at Assets/Obi/Scripts/Softbody/Blueprints/ObiSoftbodySurfaceBlueprint.cs:181)
Obi.ObiActorBlueprint+<Generate>d__59.MoveNext () (at Assets/Obi/Scripts/Common/Blueprints/ObiActorBlueprint.cs:282)
Obi.CoroutineJob+<Start>d__15.MoveNext () (at Assets/Obi/Scripts/Common/Utils/Coroutines/CoroutineJob.cs:99)
UnityEngine.Debug:LogException(Exception)
Obi.<Start>d__15:MoveNext() (at Assets/Obi/Scripts/Common/Utils/Coroutines/CoroutineJob.cs:108)
Obi.EditorCoroutine:ShowCoroutineProgressBar(String, IEnumerator&) (at Assets/Obi/Scripts/Common/Utils/Coroutines/EditorCoroutine.cs:21)
Obi.ObiActorBlueprintEditor:Generate() (at Assets/Obi/Editor/Common/Blueprints/ObiActorBlueprintEditor.cs:131)
Obi.ObiActorBlueprintEditor:OnInspectorGUI() (at Assets/Obi/Editor/Common/Blueprints/ObiActorBlueprintEditor.cs:163)
UnityEngine.GUIUtilityLenguarocessEvent(Int32, IntPtr, Boolean&)

I'm on Unity 2020.3.28f1.
Let me know if I can help by providing further information.

Print this item

Exclamación Maybe friction bug
Posted by: Zombie1995 - 24-02-2022, 12:31 PM - Forum: Obi Softbody - Replies (1)

When adding force to soft body object along the frictional floor, after few seconds stopping it and then adding vertical force i can notice that soft body is moving the opposite direction when we were giving first force. I can give you apk if you want.

Print this item

  Cloth abnormally twists in the CharacterCloth sample
Posted by: JunYu - 23-02-2022, 06:58 PM - Forum: Obi Cloth - Replies (5)

Hello!
I created a new Unity project and imported Obi Cloth. The CharacterCloth sample and the Trampoline sample have the strange problem as the below pictures show. Other samples are all normal. 
[Image: 7c5d7b9c382e6a2a.png]
[Image: 1586b43809408caa.png]
I tested two backends, they are the same.
I tested it in 4 Unity versions.
In Unity 2021.2.7f1c1, 2021.2.0b12.3482 and 2022.1.0b8.2747, the same issue occurs.
Luckily, in Unity 2020.3.29f1c1(LTS), this issue doesn't occur.
I tested on two PCs, the results are the same, maybe it's because the two PCs have the same CPU.
I can use Unity 2020 to continue my work, but it would be better to find out why the issue occurs.
I don't know if it is necessary to attach the project file, because it is just an empty project.
My system: Windows 10.0.19043  x64
CPU: Intel Core i5-4200H  two cores four threadings
I'm sorry that my English is not good. Indeciso
Thank you in advance!

Print this item

  Weird behavior when changing resolution
Posted by: lufydad - 23-02-2022, 03:39 PM - Forum: Obi Rope - Replies (2)

Hi,

I have a rope attached to two cubes and I tried to changed the resolution of the blueprint from 0.05 to 1. I expected that the behavior of the ropes will be just more fluid and accurate, but as shown in this gif, it looks like we just increase the stretching scale and other physical parameters.
Is this the excepted behavior ? In this case, why does the density of particles have this impact on the rope ?

Thank you for your time,

Print this item

  ReattachingParticle
Posted by: alex798 - 21-02-2022, 04:08 PM - Forum: Obi Rope - Replies (19)

Good day,

Sometimes my particle, which attached to object shifts from said objects and tries to stay on this shifted position from object due to attachment.

I tried to return it on previous position using ObiRope.TeleportParticle if it shifts, but attachment seems to save this shift somewhere and returns particle back...

How to reset Attachment after teleport?

Now made Attachments Bind Function public and rebind attachment- seems to work, but now I need to set said particle right Orientation- how to do it? And is my Bind workaround legid or not?

Print this item