| Latest Threads |
How to let Rod not strech...
Forum: Obi Rope
Last Post: chenji
7 hours ago
» Replies: 0
» Views: 8
|
Particle Attachment does ...
Forum: Obi Rope
Last Post: josemendez
28-11-2025, 09:28 AM
» Replies: 3
» Views: 118
|
Obi 8: what's coming up
Forum: Announcements
Last Post: josemendez
26-11-2025, 12:38 PM
» Replies: 2
» Views: 199
|
Obi Fluid 7 Transparent F...
Forum: Obi Fluid
Last Post: josemendez
21-11-2025, 06:57 PM
» Replies: 21
» Views: 15,099
|
Console spam on ComputeCo...
Forum: Obi Rope
Last Post: Koolio
19-11-2025, 12:31 AM
» Replies: 2
» Views: 377
|
Animal Style - Fluid Cook...
Forum: Made with Obi
Last Post: josemendez
14-11-2025, 03:37 PM
» Replies: 1
» Views: 285
|
Distance field default of...
Forum: General
Last Post: josemendez
14-11-2025, 09:32 AM
» Replies: 1
» Views: 330
|
Dynamic particle attachme...
Forum: Obi Cloth
Last Post: josemendez
12-11-2025, 09:15 AM
» Replies: 3
» Views: 758
|
Graphical twist on rope
Forum: Obi Rope
Last Post: goosejordan
11-11-2025, 09:17 AM
» Replies: 2
» Views: 591
|
Helper functions/commands
Forum: Obi Rope
Last Post: josemendez
10-11-2025, 06:47 PM
» Replies: 3
» Views: 738
|
|
|
| Softbody positioned far from the world origin move toward the origin unexpectedly |
|
Posted by: kenjis - 31-05-2019, 05:20 AM - Forum: Obi Softbody
- Replies (2)
|
 |
Hi,
I faced unexpected behavior of a softbody positioned far from the world origin.
Repro:
1. open BallPool sample scene.
2. create new GameObject with its name is 'Parent', its position is (0, 0, 0).
3. move existing GameObjects of 'Main Camera', 'TestEnvironment', 'ActorSpawner' and 'Ball' to under 'Parent' (to be Parent's children).
4. change Parent's position.x = 10000 (here, dare large)
changed like this
[attachment=359]
5. play the scene
Result:
The ball falls down and also moves rightward as like horizontal force was added.
It should fall down only along Y axis.
Might think the ball goes back to the world origin.
Do I missing setup something?
Thanks
|
|
|
| how to make obi cloth on script |
|
Posted by: Richard - 30-05-2019, 12:51 AM - Forum: Obi Cloth
- Replies (10)
|
 |
I am trying to make obi cloth on script. I saw scripting Actors of user manual.
Code: using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Obi;
public class SetupCloth : MonoBehaviour
{
GameObject obj;
ObiActor actor;
public ObiSolver solver;
void Start()
{
obj = GameObject.Find("cloth");
Mesh mesh = obj.GetComponent<MeshFilter>().sharedMesh;
GameObject clothObject = new GameObject("cloth", typeof(ObiSolver),typeof(ObiCloth));
// get references to all components:
ObiCloth cloth = clothObject.GetComponent();
ObiSolver solver = clothObject.GetComponent();
// generate the topology:
ObiMeshTopology topology = ScriptableObject.CreateInstance(sourceTopology);
topology.InputMesh = mesh;
topology.Generate();
// set the cloth topology and solver:
cloth.Solver = solver;
cloth.SharedTopology = topology;
}
}
What is wrong with that? I had three errors.
Assets\SetupCloth.cs(21,38): error CS0411: The type arguments for method 'GameObject.GetComponent<T>()' cannot be inferred from the usage. Try specifying the type arguments explicitly.
Assets\SetupCloth.cs(22,40): error CS0411: The type arguments for method 'GameObject.GetComponent<T>()' cannot be inferred from the usage. Try specifying the type arguments explicitly.
Assets\SetupCloth.cs(25,68): error CS0103: The name 'sourceTopology' does not exist in the current context
|
|
|
| Rope attached to kinematic rigidbody glitching during frame drops |
|
Posted by: bgrz_ - 28-05-2019, 01:33 PM - Forum: Obi Rope
- Replies (6)
|
 |
Hello,
we've been using Obi Rope in our game successfully for a while now, however we had to stay on v3.2 because of the following problem:
Ropes are pinned to colliders that are children of a kinematic rigidbody that's being moved by updating its transform position. These glitches occur during framerate drops (in this video it was caused by enabling Deep Profile to cause more CPU usage, but can also be simulated by resizing the Game window). When updating from v3.2 to v3.5 the glitching in the video started happening (we skipped a few versions so I don't know which exact release after v3.2 introduced this), and I hoped it'd be fixed in v4.1 but it's unfortunately still there. I've tried all combinations of solver mode + script update mode + script execution order, but I couldn't find a sufficient solution. Solver mode LateUpdate comes closest, it gets rid of the glitches, but causes drooping ropes instead.
Used 2018.3.14f1 with v4.1, and v3.5 update was tried in November on approximately 2018.2.20f1.
Link to reproduction project: https://www.dropbox.com/s/tn2ci6c2gimne6...n.zip?dl=0
Does this look like a bug on Obi Rope's side, or can you suggest a combination of settings or a workaround that we could utilize? I tried removing the `transform.hasChanged` check in `ObiColliderBase`, and adding `Physics.SyncTransforms()` to `ObiSolver.SimulateStep`, but it didn't make a difference.
|
|
|
| Undefined symbols for architecture arm64 |
|
Posted by: phont - 28-05-2019, 11:40 AM - Forum: General
- Replies (6)
|
 |
When I build iOS with
- Host OS: Mac 10.13.6
- Unity Editor: 2019.1.2f1
- Xcode : 10
- Obi Robe: 4.1
Errors log is pasted below:
Code: Undefined symbols for architecture arm64:
"_GetProfilingInfoCount", referenced from:
_Oni_GetProfilingInfoCount_mF6C93B77328B06BAA42CE9C2E4BDFB89DA310374 in Obi2.o
(maybe you meant: _Oni_GetProfilingInfoCount_mF6C93B77328B06BAA42CE9C2E4BDFB89DA310374)
"_SignalFrameEnd", referenced from:
_Oni_SignalFrameEnd_mAD6C1011D3F8B2B207B171FC8A67A815B8942F1D in Obi2.o
(maybe you meant: _Oni_SignalFrameEnd_mAD6C1011D3F8B2B207B171FC8A67A815B8942F1D)
"_SignalFrameStart", referenced from:
_Oni_SignalFrameStart_m368F56D78F51A62F5DC87FEE54F92A29474D0697 in Obi2.o
(maybe you meant: _Oni_SignalFrameStart_m368F56D78F51A62F5DC87FEE54F92A29474D0697)
"_ClearTasks", referenced from:
_Oni_ClearTasks_mF83C8CDE5CBE6214A2C884D9B7AC02CE2562F489 in Obi2.o
(maybe you meant: _Oni_ClearTasks_mF83C8CDE5CBE6214A2C884D9B7AC02CE2562F489)
"_GetSkinInfo", referenced from:
_Oni_GetSkinInfo_m8672537827F66CDA8E4F31EE6FE44E5DE9693738 in Obi2.o
(maybe you meant: _Oni_GetSkinInfo_m8672537827F66CDA8E4F31EE6FE44E5DE9693738)
"_GetSkinnedVertexCount", referenced from:
_Oni_GetSkinnedVertexCount_mC9CB274CEB2FD54F160392A28FDF6FD7947B5E7D in Obi2.o
(maybe you meant: _Oni_GetSkinnedVertexCount_mC9CB274CEB2FD54F160392A28FDF6FD7947B5E7D)
"_GetGroupFromPhase", referenced from:
_Oni_GetGroupFromPhase_mE6DB73EF65EDE6FEB7668F73969DA405262E2022 in Obi2.o
(maybe you meant: _Oni_GetGroupFromPhase_mE6DB73EF65EDE6FEB7668F73969DA405262E2022)
"_MakePhase", referenced from:
_Oni_MakePhase_mD88785E743F6F79B4A184ABD22047D056EF9152A in Obi2.o
(maybe you meant: _Oni_MakePhase_mD88785E743F6F79B4A184ABD22047D056EF9152A)
"_GetPointCloudAnisotropy", referenced from:
_Oni_GetPointCloudAnisotropy_m5538B1B35B6E449A323688DB4488F4A7BA9FAE17 in Obi2.o
(maybe you meant: _Oni_GetPointCloudAnisotropy_m5538B1B35B6E449A323688DB4488F4A7BA9FAE17)
...
p.p1 {margin: 0.0px 0.0px 0.0px 12.0px; text-indent: -12.0px; font: 11.0px Menlo; color: #000000; color: rgba(0, 0, 0, 0.85)}
"_GetBounds", referenced from:
_Oni_GetBounds_m97A226DFD7C05C116D018192221F0D127E06A844 in Obi2.o
(maybe you meant: __GetBoundsColor_t2E051424B366FF0F4F6A9403D362D5ABA950CDDF_0_0_0, _ScrollRect_GetBounds_m1434EA6AC230851FBEEE36B1293EA41174124807 , __GetBoundsColor_EndInvoke_mBDBD7F743E7B2F76A8161226E8B0DDAF61E93E77 , __GetBoundsColor__ctor_mB30C7E4CFC9551E493AC9ADD9441D5CB90121F88 , _CVRChaperone_GetBoundsColor_m657AB1E8D63F9E65EA27F274440DFE45E041B586 , __Z47il2cpp_codegen_marshal_function_ptr_to_delegateI57_GetBoundsColor_t2E051424B366FF0F4F6A9403D362D5ABA950CDDFEPT_PFvvEP11Il2CppClass , __ZNK54IVRChaperone_t52491D16BC21FDE07D4C94F339CD993CF4AC068A20get_GetBoundsColor_5Ev , _Oni_GetBounds_m97A226DFD7C05C116D018192221F0D127E06A844 , __GetBoundsColor_BeginInvoke_mDBDB2B7D274C1BAAF1655A5ED0B2B42EAB6CF8C4 , __GetBoundsColor_t2E051424B366FF0F4F6A9403D362D5ABA950CDDF_0_0_4099 , _ScrollRect_GetBounds_m1434EA6AC230851FBEEE36B1293EA41174124807_MetadataUsageId , _MB_Utility_GetBounds_mD21F2046BBA1811477F3D352975D51F244615D17 , _DelegatePInvokeWrapper__GetBoundsColor_t2E051424B366FF0F4F6A9403D362D5ABA950CDDF , __ZN54IVRChaperone_t52491D16BC21FDE07D4C94F339CD993CF4AC068A20set_GetBoundsColor_5EP57_GetBoundsColor_t2E051424B366FF0F4F6A9403D362D5ABA950CDDF , __GetBoundsColor_Invoke_mB6DBD846B3AB737A907D582B11C2C8F97DA87713 , __GetBoundsColor_BeginInvoke_mDBDB2B7D274C1BAAF1655A5ED0B2B42EAB6CF8C4_MetadataUsageId , __GetBoundsColor_t2E051424B366FF0F4F6A9403D362D5ABA950CDDF_1_0_0 , __ZN54IVRChaperone_t52491D16BC21FDE07D4C94F339CD993CF4AC068A30get_offset_of_GetBoundsColor_5Ev , _MB_Utility_GetBounds_mD21F2046BBA1811477F3D352975D51F244615D17_MetadataUsageId , __GetBoundsColor_t2E051424B366FF0F4F6A9403D362D5ABA950CDDF_il2cpp_TypeInfo_var )
"_SampleDistanceField", referenced from:
_Oni_SampleDistanceField_m37F0B3709B63718D6BE07E41AD83C18996C9919D in Obi2.o
(maybe you meant: _Oni_SampleDistanceField_m37F0B3709B63718D6BE07E41AD83C18996C9919D)
"_CreateBatch", referenced from:
_Oni_CreateBatch_m250D2C0434255AD38321C976E1D79D3D8F310BFD in Obi2.o
(maybe you meant: _Oni_CreateBatch_m250D2C0434255AD38321C976E1D79D3D8F310BFD)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
|
|
|
| Custom Shaders for Reflections / Refractions in 3D |
|
Posted by: Josterday - 27-05-2019, 03:28 AM - Forum: Obi Fluid
- Replies (3)
|
 |
Implementing Obi Fluids for cinematics, where performance is not an issue.
What is the best method for adding real-time (or baked) reflections and refractions to our fluids with Deferred Rendering?
It looks like the Dielectric Fluid Shader only works in 2D space?
|
|
|
| Help with Rope Setup (Noob) |
|
Posted by: webjeff - 25-05-2019, 12:06 AM - Forum: Obi Rope
- Replies (1)
|
 |
Hi,
I'm new to Obi Rope and I'm hoping someone can help me.
What I'm trying to achieve is a rope that I can attach each side to something, one side of the rope to a fixed object and the other side to a moving object and that moving object would ideally be driven by Unity physics and once it reaches the rope extent, it pulls the object back like a real rope would (assuming it was strong enough).
Currently, I have a rope with 2 'pin constraints' to both my objects. Now, when I move the one object the rope just stretches to infinity or I can add a break.
So, is there a way to make it not stretch and keep my moving object from moving further?
Thanks!
|
|
|
|