Latest Threads |
Stretching verts uniforml...
Forum: Obi Softbody
Last Post: Aroosh
Yesterday, 05:32 AM
» Replies: 0
» Views: 83
|
Scripting rod forces
Forum: Obi Rope
Last Post: chenji
11-09-2025, 01:15 PM
» Replies: 25
» Views: 2,801
|
Burst error causing crash...
Forum: Obi Rope
Last Post: josemendez
10-09-2025, 07:03 AM
» Replies: 1
» Views: 199
|
Controlling speed of emit...
Forum: Obi Fluid
Last Post: josemendez
06-09-2025, 06:29 AM
» Replies: 1
» Views: 455
|
Looks nice on editor but ...
Forum: Obi Fluid
Last Post: josemendez
04-09-2025, 07:20 AM
» Replies: 3
» Views: 701
|
How to Shorten or Scale t...
Forum: Obi Rope
Last Post: josemendez
02-09-2025, 09:53 AM
» Replies: 5
» Views: 788
|
The Limitation of Using O...
Forum: Obi Rope
Last Post: josemendez
01-09-2025, 10:30 PM
» Replies: 1
» Views: 526
|
Bug Where a Straight Segm...
Forum: Obi Rope
Last Post: josemendez
01-09-2025, 08:46 PM
» Replies: 1
» Views: 499
|
Having an issue with obi ...
Forum: Obi Rope
Last Post: Ben_bionic
29-08-2025, 04:23 PM
» Replies: 4
» Views: 997
|
Non-uniform particle dist...
Forum: Obi Rope
Last Post: chenji
29-08-2025, 09:05 AM
» Replies: 4
» Views: 846
|
|
|
Documentation is incomplete for a beginner at 6.4 |
Posted by: RameezSafdar - 29-07-2022, 12:04 PM - Forum: Obi Rope
- Replies (6)
|
 |
I have imported Obi rope 6.4 into my project from asset store and documentation seems to be incomplete. I searched youtube videos and all of them are so old that they can not cater a new user who uses obi for 1st time.
I need help to create a simple rope and then I need to elongate / shorten it on runtime. How can I do this? Can someone help me with it?
I created a simple rope by looking at example scenes, my rope doesnt collide, and if somehow i manage to make a visible rope in editor, in play mode that visual rope is no more there even though game object is.
How do i deal with this?
|
|
|
Trying to add DistanceConstraint for my TearableCloth but getting IndexOutOfRange |
Posted by: snowtv - 26-07-2022, 08:07 PM - Forum: Obi Cloth
- Replies (28)
|
 |
I'm following the example on the official document, here is the jist of my current method:
Code: // get a hold of the distance constraint
var distanceConstraints = colon.GetConstraintsByType(Oni.ConstraintType.Distance) as ObiConstraints<ObiDistanceConstraintsBatch>;
// create a new distance constraints batch
var batch = new ObiDistanceConstraintsBatch();
// Add a constraint for the pair
batch.AddConstraint(new Vector2Int(particleSolverIndexA, particleSolverIndexB), 0);
// set the amount of active constraints in the batch to 2 (the ones we just added).
batch.ActivateConstraint(0);
// append the batch to the pin constraints:
distanceConstraints.AddBatch(batch);
// this will cause the solver to rebuild distance constraints at the beginning of the next frame:
colon.SetConstraintsDirty(Oni.ConstraintType.Distance);
Basically my method will first find the solver indexes of two particles closest to the given world positions, then using the above code to add DistanceConstraint between them.
I removed the part of the example where it clears the entire constraint batches first, because I don't wanna remove all the existing DistanceConstraint.
Is there something wrong in the above code? Or I'm not getting the correct solver index for my particles?
|
|
|
question about acceptable meshes (tearable) |
Posted by: danazoid - 26-07-2022, 01:43 PM - Forum: Obi Cloth
- Replies (3)
|
 |
Hi, I was testing out tearable cloth today and got the error "ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection."
I did some testing and this is what I got
1) "thick" mesh (my custom mesh that is 2 vertices thick): error
2) plane mesh (and my custom mesh reduced to 1 vertex in thickness): no error
3) simple cube mesh (in-built unity version, vertices 2 x 2 x 2): no error
4) "thick" plane mesh (essentially a simple cuboid with vertices 4 x 4 x 2): error
It seems to me the error occurs when the cloth is "thick" (ie not just 1 vertex in thickness). I don't know about the cube.
I would like to confirm if Obi Cloth is only designed to handle flat, 1 vertex thick meshes.
I want to be able to cut/tear cloths with a thickness to them, do any of your solutions allow that? (eg softbody)
Thanks in advance.
|
|
|
Sucking a Fluid from a pipette/Dropper |
Posted by: shemtomke - 22-07-2022, 01:08 PM - Forum: Obi Fluid
- Replies (1)
|
 |
I have the following questions:
- Is it possible to suck a liquid in an upward manner and later on drop the liquid into a specific beaker using gravity? in this case, the dropper will have to make it in drops, not in a flow-like pressure.
- How to make a liquid in a burette and allow drops to flow when opening it?
- How can I reduce how the liquid reacts in such a way when it is picked up it's not wavy, I wanted it to be stable. It is very shaky and it's due to settings in the buoyancy e.t.c (Fluid Settings) though I don't know the right path to follow to make the liquid stable enough.
|
|
|
How to increase emission flow? |
Posted by: bobby - 21-07-2022, 09:19 PM - Forum: Obi Fluid
- Replies (1)
|
 |
Hello there,
I know that I can increase the area of the emitter shape or increase the emitter "Speed" parameter to increase the flow of water. But what if I want to let more particles flow out per second keeping the same shape and also without increasing the velocity with which they are emitted?
Do I have to create several emitters in the same place?
Thanks,
bobby
|
|
|
|