| Latest Threads |
Animating rod rest positi...
Forum: Obi Rope
Last Post: Kira0tori
Yesterday, 10:10 AM
» Replies: 43
» Views: 64,497
|
Endoscope rod help
Forum: Obi Rope
Last Post: Kira0tori
Yesterday, 10:06 AM
» Replies: 2
» Views: 583
|
Obi Fluid 7 Transparent F...
Forum: Obi Fluid
Last Post: josemendez
02-12-2025, 08:32 PM
» Replies: 23
» Views: 15,367
|
Obi 8: what's coming up
Forum: Announcements
Last Post: goosejordan
02-12-2025, 04:42 PM
» Replies: 5
» Views: 303
|
Transparent fluid impacte...
Forum: Obi Fluid
Last Post: josemendez
01-12-2025, 12:02 PM
» Replies: 3
» Views: 60
|
Particle Attachment does ...
Forum: Obi Rope
Last Post: josemendez
01-12-2025, 09:52 AM
» Replies: 5
» Views: 305
|
How to let Rod not strech...
Forum: Obi Rope
Last Post: chenji
30-11-2025, 01:07 AM
» Replies: 0
» Views: 56
|
Console spam on ComputeCo...
Forum: Obi Rope
Last Post: Koolio
19-11-2025, 12:31 AM
» Replies: 2
» Views: 424
|
Animal Style - Fluid Cook...
Forum: Made with Obi
Last Post: josemendez
14-11-2025, 03:37 PM
» Replies: 1
» Views: 311
|
Distance field default of...
Forum: General
Last Post: josemendez
14-11-2025, 09:32 AM
» Replies: 1
» Views: 360
|
|
|
| Cloth jumping on first frame |
|
Posted by: panda_pajama - 20-01-2018, 06:33 PM - Forum: Obi Cloth
- Replies (7)
|
 |
I have created a cloth attached to a character.
In the editor, the character appears in T-pose, and the cloth is attached to this character.
When I press play, the first frame of the character animation is not quite the same as the T-pose, and so the cloth jumps abruptly in the direction of the movement between T pose and the first frame of the animation.
This jump puts the cloth in a place I don't want to, and getting it out of there is very difficult.
How do I make sure the cloth doesn't jump in the first frame of animation?
|
|
|
| Crash on adding and removing during runtime |
|
Posted by: Guedez - 19-01-2018, 01:55 AM - Forum: Obi Cloth
- Replies (5)
|
 |
I have a skinned overcoat which it's bottom half use Obi to simulate cloth.
If I equip and unequip it enough times, unity editor crashes.
Works fine in edit mode, I can equip/unequip at will and it never crashes, but it crashes before the 5th equip in play mode
Sometimes it happens right after equiping/unequiping (webm)
Sometimes after equipping, the overcoat will not follow the model and crash soon afterwards (crash log)
webm (I am clicking a object finder window to equip/unequip the jacket): https://webmshare.com/LPWNr (the video stops when unity crashes)
crash log: https://pastebin.com/3QGUvSSb
|
|
|
| ObiColliders and Procedural Load |
|
Posted by: jonworks - 18-01-2018, 07:03 AM - Forum: Obi Rope
- Replies (17)
|
 |
Hello,
Like a lot of people who need an asset as sophisticated as Obi, my world loads procedurally and every instance of every object has to be created by code not exist in a pre-fabricated scene as a prop.
I've run into kind of a major hangup with getting Obi Rope to work in that environment. From the introduction(?) on the tutorials page: "Add a ObiCollider component to any collider in your scene to make it work with Obi."
I have no idea what colliders in my scene need to interact with the rope, how would I? Once loaded my scene has around 3,000 active colliders at a time (out of millions total). Adding another component to all of them during runtime especially when it searches the hierarchy for a rigidbody that will never exist seems like an impossible amount of overhead. A rope will only be active in my scene about 0.1% of the time.
So the only solution I can think of is to basically spherecast from the position of every particle, every frame, whenever a rope is active, and for each hit test if it already has the component, then find the rigidbody and assign the ObiRigidbody manually because I need a reference, then assign the ObiCollider because I need a reference to that as well, then test each reference each frame and remove it if it is out of range of the rope, and remove all those components if the rope becomes inactive. That would be, again, probably more overhead than the rope itself creates - and really I think an unfair amount of code that I would have to write to get this rope to be a rope.
So my question is what is the correct solution to this problem?
What I'm trying to do is really pretty straightforward; just have a rope that behaves like you'd expect a rope to behave, not passing through other physical objects.
Side note, creating a rope by code is something that seems to come up fairly often in this fourm and looking at the commonly referenced ObiRopeHelper.cs is still requiring me to make some fairly large logical leaps to get anything but runtime errors that leave me wondering if I'm using the product wrong, creating wasteful code or at least wasting a lot of time. An example that actually shows how to create an example rope by code would be extremely helpful. You can't just do new ObiRopeHelper() because that script assumes it's already set up in the hierarchy with references to unspecified objects.
Thanks,
Jon
|
|
|
| Obi Rope on Android |
|
Posted by: aleksOleinikov - 17-01-2018, 08:45 AM - Forum: Obi Rope
- Replies (2)
|
 |
Hello, I started with your asset and tested it. That work great in editor, but when i build it on Android, rope doesn't work at all, no simulation. I build Sample Scenes, use clear project with this asset. I believe I missed settings, or should I use any additional scripts in scene for android and IOS?
Do you have any documentation about project setings for Android and Ios?
I use Unity 2017.2.0f3, 2017.3.0f3, min API lvl24
|
|
|
| Soccer net values. |
|
Posted by: BirdInTheCity - 17-01-2018, 03:21 AM - Forum: Obi Cloth
- Replies (2)
|
 |
I'm using the cloth sim to create a hockey net, just like you did in this video:
https://www.youtube.com/watch?v=aY0IEIJe...HdzlzdwEr4
Are these scene files available for me to take a look at? Or could you perhaps post the solver values here?
In my sim, the hockey pucks continue to go straight through the net. I've tried increasing the Distance Constraint Parameters to 40, but that doesn't seem to solve it.
Do you have any advice to stop the pucks from passing through the net? The physics look so realistic in that video, but I'm having trouble achieving the same result.
|
|
|
| Obi Particle Trigger |
|
Posted by: Riscii - 15-01-2018, 06:50 PM - Forum: Obi Rope
- Replies (2)
|
 |
Hello,
I just recently purchased obi rope and I have to say, it simulates beautifully. However I was wondering if an Obi Particle Trigger is possible. I want particles that are inside of the trigger to have different properties. For example I have a body of water and when a particle enters the body of water I want the drag to increase and the gravity to change.
I noticed the ObiSphericalForceZone, and this was a possible solution for the effect I wanted to achieve, however when the rope entered the sphere it was thrown out of the water, and placing many spheres under the water wasn't desirable.
For now I just created an obi collider with high friction under the water. It looks okay, and it stops the rope from sinking
|
|
|
|