Latest Threads |
Stretching verts uniforml...
Forum: Obi Softbody
Last Post: Aroosh
10 hours ago
» Replies: 0
» Views: 35
|
Scripting rod forces
Forum: Obi Rope
Last Post: chenji
11-09-2025, 01:15 PM
» Replies: 25
» Views: 2,534
|
Burst error causing crash...
Forum: Obi Rope
Last Post: josemendez
10-09-2025, 07:03 AM
» Replies: 1
» Views: 157
|
Controlling speed of emit...
Forum: Obi Fluid
Last Post: josemendez
06-09-2025, 06:29 AM
» Replies: 1
» Views: 400
|
Looks nice on editor but ...
Forum: Obi Fluid
Last Post: josemendez
04-09-2025, 07:20 AM
» Replies: 3
» Views: 658
|
How to Shorten or Scale t...
Forum: Obi Rope
Last Post: josemendez
02-09-2025, 09:53 AM
» Replies: 5
» Views: 751
|
The Limitation of Using O...
Forum: Obi Rope
Last Post: josemendez
01-09-2025, 10:30 PM
» Replies: 1
» Views: 492
|
Bug Where a Straight Segm...
Forum: Obi Rope
Last Post: josemendez
01-09-2025, 08:46 PM
» Replies: 1
» Views: 470
|
Having an issue with obi ...
Forum: Obi Rope
Last Post: Ben_bionic
29-08-2025, 04:23 PM
» Replies: 4
» Views: 963
|
Non-uniform particle dist...
Forum: Obi Rope
Last Post: chenji
29-08-2025, 09:05 AM
» Replies: 4
» Views: 815
|
|
|
Hot to get Mu out of raycast info |
Posted by: Hlibs - 25-11-2021, 05:32 AM - Forum: Obi Rope
- Replies (3)
|
 |
Hi
I've been using raycasting to find specific point on obi rope where the player is watching and can get it's index and position
Can I get normalized position mu out of it somehow?
|
|
|
questions about rendering ellipsoids |
Posted by: ccmiao - 25-11-2021, 04:10 AM - Forum: Obi Fluid
- Replies (6)
|
 |
Hi !
I was trying to write my own shader for fluid rendering these days. I've read the codes for ellipsoid rendering in ObiEllipsoids.cginc and I've come across some questions about the visible ellipsoid radius in "VisibleEllipsoidCircleRadius" and "IntersectEllipsoid". Why is the radius equals to sqrt(1-t) ? And according to the fragment shader in FluidThickness.shader, the mapping.w is the visible ellipsoid radius, but when doing the intersection detection in function "IntersectEllipsoid" on line "float iq = 1 - r2/mapping.w", why do we use mapping.w instead of square of mapping.w ? Perhaps I've misunderstood about the ellipsoid radius, is there any reference or article about this part for further reading?
Thanks!
|
|
|
ObiCloth 6.3: compile error with Unity Collections 1.1.0 |
Posted by: timconkling - 23-11-2021, 07:47 PM - Forum: General
- Replies (1)
|
 |
I just updated to ObiCloth 6.3, and I'm getting a compile error:
Code: Assets/ThirdParty/Obi/Scripts/Common/Backends/Burst/BurstMath.cs(681,74):
error CS8377: The type 'T' must be a non-nullable value type, along with all fields
at any level of nesting, in order to use it as parameter 'T' in the generic type or
method 'NativeList<T>'
I'm using version 1.1.0 of Unity's Collections package (which was just released yesterday, so I assume the type signature probably changed).
Changing the type constraint of RemoveRangeBurst<T> to "unmanaged" (from "struct") fixes the compile error:
Code: public static unsafe void RemoveRangeBurst<T>(this NativeList<T> list, int index, int count)
where T : unmanaged
{ ... }
|
|
|
Issues getting Softbody working |
Posted by: kokutouchichi - 23-11-2021, 04:55 PM - Forum: Obi Softbody
- Replies (3)
|
 |
Hello, new user here.
I read through the setup instructions and installed the necessary packages from here:
http://obi.virtualmethodstudio.com/manua...html#burst
I'm getting this error popping up on my console:
Assets\Obi\Scripts\Common\Backends\Burst\BurstMath.cs(681,74): error CS8377: The type 'T' must be a non-nullable value type, along with all fields at any level of nesting, in order to use it as parameter 'T' in the generic type or method 'NativeList<T>'
I've tried starting a new project with Unity2020.311f1 and Unity 2021.1.5f1 and I'm getting the same error in both versions. I'm using Obi Softbody 6.3
I've been searching on the forum for a bit and I can't seem to get Obi up and running. Cheers in advance for any guidance or suggestions. Thanks!
|
|
|
Compilation error in Obi Softbody 6.3 |
Posted by: sasinandrei - 23-11-2021, 04:05 PM - Forum: Obi Softbody
- Replies (7)
|
 |
Hello!
Today I have updated to last version of Obi Softbody (6.3). Now I have compilation error:
Assets\Obi\Scripts\Softbody\Rendering\ObiSoftbodySkinner.cs(341,103): error CS1061: 'NativeSlice<BoneWeight1>' does not contain a definition for 'Sort' and no accessible extension method 'Sort' accepting a first argument of type 'NativeSlice<BoneWeight1>' could be found (are you missing a using directive or an assembly reference?)
Unity 2020.3.20f1. I tried to create new 3D project, still have the same error.
Best Regards,
Andrey Sasin
|
|
|
Obi 6.3 is live |
Posted by: josemendez - 23-11-2021, 02:13 PM - Forum: Announcements
- Replies (1)
|
 |
Hi all,
Obi 6.3: Cloth, Rope, Fluid and Softbody are available in the Asset Store. Bugfixes aside, notable changes in 6.3:
All assets:
- Obi Solver inspector layout has been re-organized into stateful foldouts. This way is takes up less screen space, and related parameters are grouped together.
- Built-in support for world space gravity, as well as local space (the default). No need to manually transform and set the gravity vector anymore.
Cloth:
- Runtime character cloth scaling support has been added. To scale a character at runtime, place the ObiSolver component at its root and then scale it.
Softbodies:
- Completely revamped blueprint generation: Volume softbodies have been removed and integrated into surface softbodies. You can now choose to sample the mesh surface, volume, or both, and choose different sampling methods (voxel based or vertex based) for each. Added skeleton sampling. All this together enables the creation of full-body volumetric softbodies (FBVS), which allow for one-way coupling between animation and simulation. Check the new manual page for softbody blueprints:
http://obi.virtualmethodstudio.com/manua...setup.html
- ObiSoftbodySkinner now supports up to 256 weights per vertex. It also allows you to hand-paint bone weights:
http://obi.virtualmethodstudio.com/manua...inner.html
Ropes:
- A new ObiBone component has been added, which allows you to easily simulate bone hierarchies driven by animation. Check out the manual page for bones:
http://obi.virtualmethodstudio.com/manua...setup.html
Fluids:
- This time ObiFluid gets bug fixes only, check the included changelog file for details.
The manual has also been extended/improved. A setup guide has been added:
http://obi.virtualmethodstudio.com/manua...setup.html
The solver and skinner pages updated to reflect UI changes and new functionality:
http://obi.virtualmethodstudio.com/manua...olver.html
http://obi.virtualmethodstudio.com/manua...inner.html
Bend/twist, stretch/shear and chain constraints documentation added:
http://obi.virtualmethodstudio.com/manua...aints.html
http://obi.virtualmethodstudio.com/manua...aints.html
http://obi.virtualmethodstudio.com/manua...aints.html
Still working on it, so expect minor manual changes/additions the following days.
As usual updating is free, and price tags have not changed. If you encounter any issues or have any questions, don't hesitate to contact me. Hope you find this update useful!
|
|
|
|