Latest Threads |
Stretching verts uniforml...
Forum: Obi Softbody
Last Post: Aroosh
13-09-2025, 05:32 AM
» Replies: 0
» Views: 96
|
Scripting rod forces
Forum: Obi Rope
Last Post: chenji
11-09-2025, 01:15 PM
» Replies: 25
» Views: 2,850
|
Burst error causing crash...
Forum: Obi Rope
Last Post: josemendez
10-09-2025, 07:03 AM
» Replies: 1
» Views: 220
|
Controlling speed of emit...
Forum: Obi Fluid
Last Post: josemendez
06-09-2025, 06:29 AM
» Replies: 1
» Views: 479
|
Looks nice on editor but ...
Forum: Obi Fluid
Last Post: josemendez
04-09-2025, 07:20 AM
» Replies: 3
» Views: 722
|
How to Shorten or Scale t...
Forum: Obi Rope
Last Post: josemendez
02-09-2025, 09:53 AM
» Replies: 5
» Views: 801
|
The Limitation of Using O...
Forum: Obi Rope
Last Post: josemendez
01-09-2025, 10:30 PM
» Replies: 1
» Views: 540
|
Bug Where a Straight Segm...
Forum: Obi Rope
Last Post: josemendez
01-09-2025, 08:46 PM
» Replies: 1
» Views: 514
|
Having an issue with obi ...
Forum: Obi Rope
Last Post: Ben_bionic
29-08-2025, 04:23 PM
» Replies: 4
» Views: 1,012
|
Non-uniform particle dist...
Forum: Obi Rope
Last Post: chenji
29-08-2025, 09:05 AM
» Replies: 4
» Views: 860
|
|
|
stutter move |
Posted by: julienrobert - 22-09-2020, 03:29 AM - Forum: Obi Fluid
- Replies (12)
|
 |
Hello
I think I have a conflict between the movement of my container and the fluid inside because I'm getting a kind of stutter when I move the container. Please see video.
https://youtu.be/e_W4O8sMdEk
How can I solve this? Do I need to move the container using fixedUpdate? or something like that?
|
|
|
Errors with version 5.6 |
Posted by: FredL - 21-09-2020, 06:25 PM - Forum: Obi Rope
- Replies (2)
|
 |
Have been struggling getting Obi Rope to work. Here's the steps I've taken:
Unity version: 2020.1.0b14.4034
OS version: macOS 10.15.6
- Created a new project from unity hub
- Imported Obi Rope 5.6 using package manager
- Created a rope blueprint
- Created a rope
- Dragged rope blueprint onto the rope
- 3 errors in console:
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <fb001e01371b4adca20013e0ac763896>:0)
System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <fb001e01371b4adca20013e0ac763896>:0)
Obi.ObiRope.RebuildElementsFromConstraintsInternal () (at Assets/Obi/Scripts/RopeAndRod/Actors/ObiRope.cs:322)
Obi.ObiRopeBase.RebuildElementsFromConstraints () (at Assets/Obi/Scripts/RopeAndRod/Actors/ObiRopeBase.cs:67)
Obi.ObiRope.LoadBlueprint (Obi.ObiSolver solver) (at Assets/Obi/Scripts/RopeAndRod/Actors/ObiRope.cs:165)
Obi.ObiSolver.AddActor (Obi.ObiActor actor) (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:1089)
Obi.ObiActor.AddToSolver () (at Assets/Obi/Scripts/Common/Actors/ObiActor.cs:312)
Obi.ObiRopeEditor.OnInspectorGUI () (at Assets/Obi/Editor/RopeAndRod/ObiRopeEditor.cs:127)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass58_0.<CreateIMGUIInspectorFromEditor>b__0 () (at /Users/builduser/buildslave/unity/build/Editor/Mono/Inspector/InspectorElement.cs:535)
UnityEngine.GUIUtility rocessEvent(Int32, IntPtr, Boolean&) (at /Users/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) (at <fb001e01371b4adca20013e0ac763896>:0)
System.ThrowHelper.ThrowArgumentOutOfRangeException () (at <fb001e01371b4adca20013e0ac763896>:0)
Obi.ObiRope.RebuildElementsFromConstraintsInternal () (at Assets/Obi/Scripts/RopeAndRod/Actors/ObiRope.cs:322)
Obi.ObiRopeBase.RebuildElementsFromConstraints () (at Assets/Obi/Scripts/RopeAndRod/Actors/ObiRopeBase.cs:67)
Obi.ObiPathSmoother.GenerateSmoothChunks (Obi.ObiRopeBase actor, System.UInt32 smoothingLevels) (at Assets/Obi/Scripts/RopeAndRod/DataStructures/Path/ObiPathSmoother.cs:150)
Obi.ObiPathSmoother.Actor_OnInterpolate (Obi.ObiActor actor) (at Assets/Obi/Scripts/RopeAndRod/DataStructures/Path/ObiPathSmoother.cs:61)
Obi.ObiActor.Interpolate () (at Assets/Obi/Scripts/Common/Actors/ObiActor.cs:1129)
Obi.ObiSolver.Interpolate (System.Single stepTime, System.Single unsimulatedTime) (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:1502)
Obi.ObiUpdater.Interpolate (System.Single stepDeltaTime, System.Single accumulatedTime) (at Assets/Obi/Scripts/Common/Updaters/ObiUpdater.cs:115)
Obi.ObiFixedUpdater.Update () (at Assets/Obi/Scripts/Common/Updaters/ObiFixedUpdater.cs:79)
IndexOutOfRangeException: Index was outside the bounds of the array.
Obi.ObiRope.RebuildElementsFromConstraintsInternal () (at Assets/Obi/Scripts/RopeAndRod/Actors/ObiRope.cs:304)
Obi.ObiRopeBase.RebuildElementsFromConstraints () (at Assets/Obi/Scripts/RopeAndRod/Actors/ObiRopeBase.cs:67)
Obi.ObiPathSmoother.GenerateSmoothChunks (Obi.ObiRopeBase actor, System.UInt32 smoothingLevels) (at Assets/Obi/Scripts/RopeAndRod/DataStructures/Path/ObiPathSmoother.cs:150)
Obi.ObiPathSmoother.Actor_OnInterpolate (Obi.ObiActor actor) (at Assets/Obi/Scripts/RopeAndRod/DataStructures/Path/ObiPathSmoother.cs:61)
Obi.ObiActor.Interpolate () (at Assets/Obi/Scripts/Common/Actors/ObiActor.cs:1129)
Obi.ObiSolver.Interpolate (System.Single stepTime, System.Single unsimulatedTime) (at Assets/Obi/Scripts/Common/Solver/ObiSolver.cs:1502)
Obi.ObiUpdater.Interpolate (System.Single stepDeltaTime, System.Single accumulatedTime) (at Assets/Obi/Scripts/Common/Updaters/ObiUpdater.cs:115)
Obi.ObiFixedUpdater.Update () (at Assets/Obi/Scripts/Common/Updaters/ObiFixedUpdater.cs:79)
I took a took at the source quickly, but couldn't see the problem
|
|
|
fluid disappear from moving bottle |
Posted by: actsai - 21-09-2020, 07:40 AM - Forum: Obi Fluid
- Replies (17)
|
 |
Hi,
I'm trying to simulate the chemical experiment which required fluid pouring, mixing between bottles.
I simply pour the fluid from a bottle to another, some fluid flies off, and if I move the bottle quickly, all the fluid goes out of the bottle and disappear.
https://youtu.be/fP3F8r2qk9g
How to keep the fluid stay inside the bottle if I did not pour it out?
Please kindly help, thanks.
Albert
|
|
|
Collide once |
Posted by: joshuajames1 - 21-09-2020, 07:00 AM - Forum: Obi Rope
- Replies (1)
|
 |
So I have a box collider and it's set to isTrigger= true, and eveytime the rope passes through to it, it will increase your score. It works but sometimes it's getting called twice. I just want it to work like OnTriggerEnter.
|
|
|
Downgrade to 5.1 and Rope Particle attachment not work |
Posted by: okculo - 18-09-2020, 05:36 PM - Forum: Obi Rope
- Replies (8)
|
 |
Hello, I have working on a project where a rope attached to 2 different dynamic object. I build project at 5.5 but due to ios problems i downgrade it to 5.1 . Now Exacly same code ı used to attach object sometimes works sometimes not. Any help?
private IEnumerator startingRope()
{
rope.GetComponent<MeshRenderer>().enabled = true;
blueprint = ScriptableObject.CreateInstance<ObiRopeBlueprint>();
blueprint.resolution = 0.5f;
blueprint.path.Clear();
blueprint.path.AddControlPoint(currentBasePoint.transform.position, -Vector3.one, Vector3.one, Vector3.one, 2f, 0.1f, 1, 1, Color.red, "start");
blueprint.path.AddControlPoint(topPoint.transform.position, -Vector3.one, Vector3.one, Vector3.one, 2f, 0.1f, 1, 1, Color.white, "end");
// blueprint.path.FlushEvents();
yield return blueprint.Generate();
rope.ropeBlueprint = blueprint;
ObiParticleAttachment[] attacher;
attacher = rope.GetComponents<ObiParticleAttachment>();
attacher[0].target = currentBasePoint.gameObject.transform;
attacher[0].particleGroup = blueprint.groups[0];
attacher[1].target = topPoint.gameObject.transform;
attacher[1].particleGroup = blueprint.groups[1];
}
rope sometimes fall to ground sometimes only start work sometimes both work. Couldnt solve the problem here. Unity 2019.3.7f1
My objects have collider and obi collider
falls toward void
|
|
|
|