Search Forums

(Advanced Search)

Latest Threads
can you remove particles ...
Forum: Obi Softbody
Last Post: aardworm
09-07-2025, 07:09 AM
» Replies: 0
» Views: 99
ObiRope Mesh Renderer
Forum: Obi Rope
Last Post: quent_1982
08-07-2025, 11:27 AM
» Replies: 4
» Views: 372
How to dynamically change...
Forum: Obi Rope
Last Post: quent_1982
08-07-2025, 06:34 AM
» Replies: 6
» Views: 515
Pipeline that bends
Forum: Obi Softbody
Last Post: josemendez
04-07-2025, 09:52 AM
» Replies: 13
» Views: 1,221
How to implement/sync Obi...
Forum: Obi Rope
Last Post: quent_1982
01-07-2025, 01:48 PM
» Replies: 2
» Views: 341
Collisions don't work con...
Forum: Obi Rope
Last Post: chenji
27-06-2025, 03:05 AM
» Replies: 3
» Views: 429
Force Zone apply differen...
Forum: Obi Rope
Last Post: chenji
26-06-2025, 11:41 AM
» Replies: 11
» Views: 1,181
Can I blend in and out of...
Forum: Obi Cloth
Last Post: josemendez
24-06-2025, 04:42 PM
» Replies: 3
» Views: 410
Using a rigidbody/collide...
Forum: Obi Cloth
Last Post: josemendez
24-06-2025, 09:29 AM
» Replies: 1
» Views: 241
Solver is too performance...
Forum: Obi Rope
Last Post: quent_1982
20-06-2025, 08:09 AM
» Replies: 40
» Views: 5,463

 
  How to make flat rope/Extruding rope
Posted by: ajjack13 - 30-12-2021, 04:05 AM - Forum: Obi Rope - Replies (3)

Hi everyone, I was wondering how I can make a flat rope or a compressed rope. I want it to look like a flatter shape throughout the rope. I read that one other use used ObiRopeMeshRenderer, but I'm not sure how this changes the look of the rope.

Secondly, does anyone know if there is a way to get the rope completely laid down while it is being extruded with the ObiCursor? Whenever it is getting pulled by my other game object, it comes with it instead of laying down on the ground. Does this have to do with colliders or certain points along the rope? Or does this just kind of happen, and I should just make a longer rope. 

Thank you!

Print this item

  Considering buying (again)
Posted by: illinar - 30-12-2021, 01:42 AM - Forum: Obi Softbody - Replies (5)

Hello. I tried the Obi soft body a year ago, but it didn't quite fit my needs and expectations at the time but I'm seeing some improvements and things I could use now. 

What I want to do is attach multiple obi simulations to characters rigid body based skeleton and to be able to enable and disable them on the fly for optimisation, and to have body parts with different sim resolution. I would make my own skinning and rigging and would read from particle positions to drive the skin bones. The skin should still have morphs. 

Would that be a reasonable approach or would that be possible at all? Is two way coupling between soft body particles and rigidbodies possible? Are there maybe some overheads and performance costs from reading particle positions or sth like that?

What I would actually want is multiple Obi soft bodies attached to the same mesh with different sim resolution and with ability to turn their sim on or off individually. But I don't expect that those features exist.

Also I remember there was no manual control of individualparticle placement. Is that still the case? Or is editing particle transforms via script is possible so that I can implement my own editor?

Could you also please tell me when the sale ends? I'm very tempted to buy the whole set.

Print this item

Pregunta Stop rope stretching into infinity
Posted by: rsauchuck - 29-12-2021, 11:41 PM - Forum: Obi Rope - Replies (2)

I am new to ObiRope so please bear with me.
I am simulating a crane in Unity. I have an ObiRope attached to itself at one end and to a game object at the other end. The Game Object contains meshes for the crane's "fall" (hook and pulley system), a unity rigidbody, and a unity box collider. it also contains a child cube that I am using as the actual attachment point. The child cube has unity and obi rigidbody and collider components and a fixed joint to bind it to the parent.

Whenever I run the build, the obi rope stretches infinitely. It doesn't support the "weight" of the attached Game Object. 
I tried comparing my crane to the sample crane scene but I cannot figure out what I am doing wrong.

I have replaced my fall with a simple cube (duplicated from the crane sample) but it does the exact same thing. The rope stretches forever and the cube falls right into the center of the earth.

Do I need to have multiple Obi Particle Attachments beyond those I have at the start and end of my rope?

Print this item

  Added particles through cursor ChangeLength seem to freeze in place.
Posted by: ZhadoTom - 29-12-2021, 12:18 PM - Forum: Obi Rope - Replies (3)

Sorry if this has been answered but I couldn't find a thread with a similar issue. 

I'm trying to dynamically increase a ropes particles as it's stretched past a certain threshold. The rope has an attachment either end and as I pull them apart, I want new particles added, but when the new particles are added they appear to just stick in place and have no physics to them.

I test this by adding length over time with a simple line of code:

cursor.ChangeLength((rope.restLength) + 1 * Time.deltaTime);

Yet I was getting the same results as shown in the video below.

Print this item

  Per-Frame GC Allocation in Burst Solver
Posted by: pdinklag - 28-12-2021, 10:39 AM - Forum: General - Replies (1)

While profiling, I hit on a pretty obvious per-frame GC allocations in the Burst Solver: the padding array in BurstSolverImpl.ApplyConstraints.

The allocation can be avoided by using a stack-allocated span, the number of enum entries is small enough:

Code:
Span<int> padding = stackalloc int[Oni.ConstraintTypeCount];

However, I'm not sure since when exactly Unity supports C# 7.2, so for older versions, a statically allocated array might be due.

Print this item

  Per-frame GC Allocation in ObiPathSmoother.Decimate
Posted by: pdinklag - 28-12-2021, 09:12 AM - Forum: Obi Rope - Replies (1)

I am currently profiling my game, which uses ObiRope, in search of what appears to be a memory leak. I don't know yet whether it comes from Obi's Burst solver or not, but I assume so since it only appeared since using it and I will share details on that shall I find out more.

In any event, I noticed some sources of GC allocations that happen every frame and shouldn't be necessary. One has already been reported here and it affects ropes too: http://obi.virtualmethodstudio.com/forum...-3072.html

Another one is the bit array in ObiPathSmoother.Decimate. This can easily be eliminated by making it a member of the class and replace its construction with

Code:
decimateBitArray.Length = Mathf.Max(decimateBitArray.Length, input.Count);
decimateBitArray.SetAll(true);

The loop at the end of the function must then be changed to run only up to input.Count rather than bitArray.Count.

It'd be nice to see this incorporated in a future update. Sonrisa

Print this item

  Rope Not Laying Flat/Window Not Popping Up
Posted by: ajjack13 - 27-12-2021, 02:50 AM - Forum: Obi Rope - Replies (2)

In my project, I have a rope attached to two cylinder objects. I am trying to get it to lay flat on this moon surface when it does the Cursor extrusion action but it keeps floating.

Ive read that I need to change the radius of the rope particles but when I click the edit path button the window to change the size does not pop up. 
Is there a way to get the rope to lay flat? If the only way is to change the radius of the rope particles, how can I get the Edit Path window to open?

Print this item

  freeze position
Posted by: saltuksy - 26-12-2021, 01:30 PM - Forum: Obi Softbody - Replies (1)

Hi! Is it possible to freeze position(x,z) for my obi object?

Print this item

  Noob and travel cape
Posted by: Celes - 24-12-2021, 12:40 PM - Forum: Obi Cloth - Replies (10)

Hello guys, I'm using blender and unity with Obi cloth, but I never animated stuff in my live.
I'm working on an humanoid fox with a travel cape (check the video).
I took a mixamo animation to do some test (3d animator holidays). And I linked neck and shoulders bones (3) to the cape mesh.
And when trying to simply use Obi with the cloth tutorial, the first behavior I get isn't something I can understand.

So there am I. Can someone explain to me how I should build/link my cape? Like more splitting ? Btw the is a double side on the openning of the cape.
I also tried to import Obi terst assets, but it failed Triste

WeTrasnfer (video in bBender) : https://we.tl/t-oSYTWOFUki

Thanks !

Print this item

  Obi Collider category problem
Posted by: aqualonix - 23-12-2021, 04:56 PM - Forum: Obi Rope - Replies (2)

Hello, I have a strange problem. I'm using my softbody and my obi bone with different colliders. However Obi bone wont work with the right collision category from the start until I set it again to the same category in the game mode. So it starts with the default 0 category even if set it to 2.

Print this item