Search Forums

(Advanced Search)

Latest Threads
Obi 7 beta
Forum: Announcements
Last Post: spikebor
1 hour ago
» Replies: 1
» Views: 1,691
Compatibility with Fluxy
Forum: Obi Rope
Last Post: Crystalius
4 hours ago
» Replies: 2
» Views: 24
Can Obi bone works with b...
Forum: Obi Rope
Last Post: kodra
Yesterday, 07:25 PM
» Replies: 0
» Views: 10
NullReferenceException Bl...
Forum: Obi Cloth
Last Post: dramatemple
24-04-2024, 04:23 PM
» Replies: 8
» Views: 2,416
IdentifyMovingColliders.E...
Forum: Obi Rope
Last Post: Guillaume
24-04-2024, 08:57 AM
» Replies: 6
» Views: 96
Getting the force acting ...
Forum: Obi Rope
Last Post: josemendez
24-04-2024, 08:40 AM
» Replies: 4
» Views: 86
Obi Rope snake "collision...
Forum: Obi Rope
Last Post: josemendez
24-04-2024, 07:32 AM
» Replies: 1
» Views: 52
Question about garment on...
Forum: Obi Cloth
Last Post: onfitpark
24-04-2024, 04:45 AM
» Replies: 7
» Views: 244
(7.0) New particle shader...
Forum: General
Last Post: kodra
22-04-2024, 07:18 PM
» Replies: 0
» Views: 47
Cloth abnormally twists i...
Forum: Obi Cloth
Last Post: josemendez
22-04-2024, 09:06 AM
» Replies: 5
» Views: 2,540

 
  amount of particles as vertices mesh
Posted by: Richard - 25-01-2019, 02:18 AM - Forum: Obi Cloth - Replies (1)

In tutorial of obi cloth(http://obi.virtualmethodstudio.com/tutor...setup.html), there is a sentence "Make sure it has at least the same amount of particles as vertices are in your mesh (the default is 5000)". How do I know that?

Print this item

Exclamación Problemas al intentar editar las particulas No se pueden editar y causa relentizacion
Posted by: supneo - 24-01-2019, 02:00 AM - Forum: Obi Cloth - Replies (6)

Hola , tengo problemas al intentar editar las particulas , no me sale el editor ni las particulas y me da esto en la consola:

NullReferenceException: Object reference not set to an instance of an object
Obi.ObiParticleActorEditor.DrawParticles () (at Assets/Obi/Editor/ObiParticleActorEditor.cs:332)
Obi.ObiClothEditor.DrawActorInfo () (at Assets/Obi/Editor/ObiClothEditor.cs:138)
Obi.ObiParticleActorEditor.OnSceneGUI () (at Assets/Obi/Editor/ObiParticleActorEditor.cs:262)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
UnityEditor.SceneView.CallOnSceneGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:2833)
UnityEditor.SceneView.HandleSelectionAndOnSceneGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:2122)
UnityEditor.SceneView.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:1983)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:342)
UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:336)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:310)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect, System.Boolean customBorder, System.Boolean floatingWindow, System.Boolean isBottomTab) (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:361)
UnityEditor.DockArea.OldOnGUI () (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:320)
UnityEngine.Experimental.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:266)
UnityEngine.Experimental.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:438)
UnityEngine.Experimental.UIElements.IMGUIContainer.HandleIMGUIEvent () (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:412)
UnityEngine.Experimental.UIElements.ImmediateStylePainter.DrawImmediate (System.Action callback) (at C:/buildslave/unity/build/Modules/UIElements/ImmediateStylePainter.cs:113)
UnityEngine.Experimental.UIElements.IMGUIContainer.DoRepaint (UnityEngine.Experimental.UIElements.IStylePainter painter) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:98)
UnityEngine.Experimental.UIElements.VisualElement.Repaint (UnityEngine.Experimental.UIElements.IStylePainter painter) (at C:/buildslave/unity/build/Modules/UIElements/VisualElement.cs:845)
UnityEngine.Experimental.UIElements.VisualTreeRepaintUpdater.PaintSubTree (UnityEngine.Experimental.UIElements.VisualElement root, UnityEngine.Matrix4x4 offset, System.Boolean shouldClip, System.Boolean shouldCache, UnityEngine.Rect currentGlobalClip) (at C:/buildslave/unity/build/Modules/UIElements/VisualTreeRepaintUpdater.cs:310)
UnityEngine.Experimental.UIElements.VisualTreeRepaintUpdater.PaintSubTreeChildren (UnityEngine.Experimental.UIElements.VisualElement root, UnityEngine.Matrix4x4 offset, System.Boolean shouldClip, System.Boolean shouldCache, UnityEngine.Rect textureClip) (at C:/buildslave/unity/build/Modules/UIElements/VisualTreeRepaintUpdater.cs:328)
UnityEngine.Experimental.UIElements.VisualTreeRepaintUpdater.PaintSubTree (UnityEngine.Experimental.UIElements.VisualElement root, UnityEngine.Matrix4x4 offset, System.Boolean shouldClip, System.Boolean shouldCache, UnityEngine.Rect currentGlobalClip) (at C:/buildslave/unity/build/Modules/UIElements/VisualTreeRepaintUpdater.cs:314)
UnityEngine.Experimental.UIElements.VisualTreeRepaintUpdater.Update () (at C:/buildslave/unity/build/Modules/UIElements/VisualTreeRepaintUpdater.cs:35)
UnityEngine.Experimental.UIElements.VisualTreeUpdater.UpdateVisualTree () (at C:/buildslave/unity/build/Modules/UIElements/VisualTreeUpdater.cs:70)
UnityEngine.Experimental.UIElements.Panel.Repaint (UnityEngine.Event e) (at C:/buildslave/unity/build/Modules/UIElements/Panel.cs:507)
UnityEngine.Experimental.UIElements.UIElementsUtility.DoDispatch (UnityEngine.Experimental.UIElements.BaseVisualElementPanel panel) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:230)
UnityEngine.Experimental.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:68)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)

Utilizo la ultima version unity3d 2018.3.2f1 y la ultima version de obi cloth

Edit: solucionado , Elimine la carpeta manualmente y reinstale obi cloth y se soluciono el problema.

Print this item

  Rope tying in VR using LEAP Motion
Posted by: christouch2 - 23-01-2019, 12:40 PM - Forum: Obi Rope - No Replies

Hi,
I am doing a preliminary study into the use of Obi Rope
for rope tying with simulated hand/fingers.
The input device being used at the moment is LEAP motion (Orion beta)

I can interact with objects tethered to ropes but cannot think of a way to
do actual rope manipulation. LEAP requires an interaction behavior to be placed
on the object to be manipulated but for ropes the interaction point would have to coincide
with a nearest particle (i guess).

Any ideas how to proceed?

Chris

Print this item

  Using Proxy Cloth on Skinned Mesh
Posted by: rjGhost - 21-01-2019, 05:02 PM - Forum: Obi Cloth - Replies (3)

I've been using Obi cloth for a few months now with some great success, however I've been getting some odd performance when using Proxy cloth on skinned mesh. On tests with non-skinned mesh renderers I get no artifacts or issues, but skinned ones look like the image below. Any suggestions for how to avoid this?

Print this item

Triste No wind effect
Posted by: Evgenius - 21-01-2019, 12:01 PM - Forum: Obi Cloth - Replies (2)

Hello! I'm trying to apply wind forces to my cloth model, but it doesn't have any effect. I even added the model to one of the sample scenes and set the same solver as the other clothes use. In result, sample clothes have wind effect, but my doesn't. What do I miss?

Print this item

  Question about grabbing rope and swinging in VR
Posted by: glish - 18-01-2019, 09:55 PM - Forum: Obi Rope - No Replies

Hey guys, just had a quick question before I buy Obi Rope. I'm developing for Oculus Rift and read in another thread that rigidbodies must be non-kinematic to be affected by rope physics. The issue I'm worried about is that Oculus' camera rig (the "player") enables its rigidbody via script and is constantly updating the isKinematic field (turning it on when the headset is in motion and off when it's not). Is there any way around this other than digging into Oculus' code and changing the way they handle rigidbodies? Has anyone else here had success with using Obi Rope with the Oculus integration utilities? I saw that a user here created a VRTK interaction script, which is awesome, but I think they were developing for SteamVR and I'm not sure how their rigidbodies are set up for the SteamVR player object.

Thanks!!

EDIT: Upon further looking into it, it's actually the VRTK BodyPhysics script that adds the rigidbody and not Oculus' utilities. Looks like it's being toggled on line 690 for anyone that may run into the same issue.

Print this item

  Build error when compiling to WebGL
Posted by: khos85 - 17-01-2019, 07:56 PM - Forum: Obi Rope - Replies (2)

Hi,

Why am I seeing this:

Failed running "D:\Unity2017.4.10f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten_Win\python\2.7.5.3_64bit\python.exe" "D:\Unity2017.4.10f1\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\Emscripten\emcc" @"C:\Users\Game\Assets\..\Temp\emcc_arguments.resp"

stdout:
stderr:ERROR:root:C:\Users\Game\Assets\Obi\Plugins\iOS\libOni.a: Unknown format, not a static library!
UnityEngine.GUIUtilityLenguarocessEvent(Int32, IntPtr)

Print this item

  Positions Saving & Loading
Posted by: Loki_Priest - 16-01-2019, 05:03 AM - Forum: Obi Cloth - Replies (2)

Hello.

I need to save disposed positions of particles (or vertices) after closing the game and to load them when I start the game.
I managed to write actor's positions and obiCloth's meshVertices arrays to XML files and to read them.

But I faced with two problems:
1) It's ok to SetParticlePositions using the values from the file; but it was not possible to get changed positions of particles (I mean the position[] array doesn't change, however the real picture is ok while deforming the object). Maybe it's necessary to RequireRenderablePosition (or/and PullDataFromSolver), isn't it?
2) On the other hand, values of meshVertices array change when I deform the mesh, but I have no luck in changing them manually with the values from the XML file (I mean the clothMesh from ObiClothBase class).

Maybe I missed something important?

For clarity, here is an example of what I need:
1) I start my game with a ball.
[attachment=215]

2) Then I deform it (via the "finger" collider), save it, and quit the game.
[attachment=217]

3) When I open the game again I am to see the second picture.

Print this item

  Rope length in float
Posted by: ayoci - 15-01-2019, 04:37 AM - Forum: Obi Rope - Replies (2)

Hey, there is any way to get rope length in public float in Update()? 

I tried some trick with pooled particles, totalparticles  but i don't know what can i do. :/ I need the length only for display in "m". 

Thanks for help. Sonrisa

Print this item

  Build errors with latest Unity
Posted by: Bluerex - 14-01-2019, 06:39 PM - Forum: Obi Rope - Replies (4)

Hi,

With the current asset store version of Obi Rope, I get build errors. I created a new, empty project, imported Obi Rope, then opened the solution and did a build, and I get the following errors:


Code:
Error    CS0308    The non-generic type 'Queue' cannot be used with type arguments    Test    F:\Unit Projects\Test\Assets\Obi\Scripts\Actors\ObiBone.cs    104  
Error    CS0246    The type or namespace name 'Stopwatch' could not be found (are you missing a using directive or an assembly reference?)    Test    F:\Unit Projects\Test\Assets\Obi\Scripts\Coroutines\CoroutineJob.cs    93   
Error    CS0006    Metadata file 'F:\Unit Projects\Test\Temp\UnityVS_bin\Debug\Assembly-CSharp.dll' could not be found    Test.Editor    F:\Unit Projects\Test\CSC    1    Active

Any tips on how to fix this?

Print this item