Latest Threads |
can you remove particles ...
Forum: Obi Softbody
Last Post: aardworm
Yesterday, 07:09 AM
» Replies: 0
» Views: 24
|
ObiRope Mesh Renderer
Forum: Obi Rope
Last Post: quent_1982
08-07-2025, 11:27 AM
» Replies: 4
» Views: 142
|
How to dynamically change...
Forum: Obi Rope
Last Post: quent_1982
08-07-2025, 06:34 AM
» Replies: 6
» Views: 286
|
Pipeline that bends
Forum: Obi Softbody
Last Post: josemendez
04-07-2025, 09:52 AM
» Replies: 13
» Views: 1,007
|
How to implement/sync Obi...
Forum: Obi Rope
Last Post: quent_1982
01-07-2025, 01:48 PM
» Replies: 2
» Views: 247
|
Collisions don't work con...
Forum: Obi Rope
Last Post: chenji
27-06-2025, 03:05 AM
» Replies: 3
» Views: 324
|
Force Zone apply differen...
Forum: Obi Rope
Last Post: chenji
26-06-2025, 11:41 AM
» Replies: 11
» Views: 943
|
Can I blend in and out of...
Forum: Obi Cloth
Last Post: josemendez
24-06-2025, 04:42 PM
» Replies: 3
» Views: 306
|
Using a rigidbody/collide...
Forum: Obi Cloth
Last Post: josemendez
24-06-2025, 09:29 AM
» Replies: 1
» Views: 187
|
Solver is too performance...
Forum: Obi Rope
Last Post: quent_1982
20-06-2025, 08:09 AM
» Replies: 40
» Views: 4,766
|
|
|
Installation Issue Unity 2017.3.0F3: script errors |
Posted by: izzyschneerson - 30-01-2018, 08:40 PM - Forum: Obi Cloth
- Replies (6)
|
 |
After importing OBI Cloth into my project I cannot enter Play-mode anymore: have to fix compile-errors.
These are the errors:
Assets/Standard Assets/Utility/SimpleMouseRotator.cs(3,27): error CS0234: The type or namespace name `CrossPlatformInput' does not exist in the namespace `UnityStandardAssets'. Are you missing an assembly reference?
Assets/Standard Assets/Characters/ThirdPersonCharacter/Scripts/AICharacterControl.cs(11,16): error CS0246: The type or namespace name `ThirdPersonCharacter' could not be found. Are you missing `Obi.Characters.ThirdPerson' using directive?
Unity Editor Version:
2017.3.0f3
I have deleted OBI from my project and reimported all earlier assets, but that did not work
|
|
|
Sporadic Performance Drops |
Posted by: salvetori - 30-01-2018, 05:44 PM - Forum: Obi Cloth
- Replies (12)
|
 |
Hello,
I've been having an issue where every few seconds I will encounter a massive momentary drop in performance. In this scenario the cloth I am simulating is following the character cloth setup from the documentation, and is currently not colliding with anything. The solver is using the default settings save for having the simulation space set to local and having the simulation order set to late update. The cloth being simulated has thickness, with self collisions enabled. However, enabling a cloth proxy or not didn't seem to have an effect on this performance spike happening. I also tested simply disabling every single constraint and that also did not seem to have an effect.
[attachment=70]
I followed some of the pointers found in this thread: http://obi.virtualmethodstudio.com/forum...d-200.html
Unfortunately these didn't change the outcome.
The demo scenes that come with obi cloth perform fine and I don't encounter this issue in those demo scenes, particularly in the character cloth scene that I am trying to emulate.
I am not really sure what is going on so I'd appreciate some help. Let me know if you guys need more info.
[attachment=69]
Edit:
So, I was incorrect in saying that the performance spikes don't happen in the different demo scenes. This is the benchmark scene profile:
[attachment=71]
Is this just a symptom of having a weak processor?
I have a AMD 6300 Six-Core Processor
I am also using Unity 2017.3.0f3
Is there some other way to prevent these performance spikes from happening? Or am I out of luck?
|
|
|
Firehose |
Posted by: moXier - 29-01-2018, 03:33 PM - Forum: Obi Rope
- Replies (3)
|
 |
How can I simulate a fire hose.
Right now one of the ends are stuck to a nozzle, but when I walk away it is very weird, I want it to become longer and not glide around XD.
|
|
|
Large Radius Liquid Transfer Pipe that can be picked up at any point for HTC Vive |
Posted by: AccqwTit - 29-01-2018, 08:16 AM - Forum: Obi Rope
- No Replies
|
 |
Good day,
I am building a program the simulate a fuel plant, for HTC Vive.
I have several issues that I am experiencing:
1. Large radius pipe that transfers fuel from the plant to the truck: When I attach SteamVR throwable script to the object attached to the end-point of the rope, the whole rope malfunctions.
2. Collision effect seems not to work on SteamVR teleportation platforms. The rope cannot detect colliders.
3. Fuel Transfer pipe seems not to have weight, and it stretches. I applied the distance constraint, but I am not winning.
4. I also want to be able to pick the pipe from any point of the rope. Including the object attached at the end of the rope.
|
|
|
Bug + fix: IndexInActor not updated in solver after a particle kill |
Posted by: tooomg - 28-01-2018, 05:34 AM - Forum: General
- Replies (3)
|
 |
Hi there!
I was doing some kind of fancy particle management when I came across a bug preventing me to delete the last particle of an emitter if another particle from the same emitter has been killed before. (Note: I've been killing it the "proper" way, setting its life to zero)
The bug was due to the fact that the IndexInActor field from the ParticleInActor class in the solver is not updated when a particle is killed by the Emitter. The consequence is that when deleting my 2nd particle, its IndexInActor still "pointed" to the particle I just killed before and was moved to inactive particles group at the end of the list.
I took a quick look and it seems that there's nowhere where IndexInActor is updated, so the fix boils down to doing it in KillParticle:
Code: public bool KillParticle(int index){
if (activeParticleCount == 0 || index >= activeParticleCount) return false;
// reduce amount of active particles:
activeParticleCount--;
active[activeParticleCount] = false;
// swap solver particle indices:
int temp = particleIndices[activeParticleCount];
particleIndices[activeParticleCount] = particleIndices[index];
particleIndices[index] = temp;
// FIX BEGIN
solver.particleToActor[particleIndices[index]].indexInActor = activeParticleCount;
solver.particleToActor[temp].indexInActor = index;
// FIX END
I tried it on my scene and if fixes the problem wonderfully!
I guess this was the intent of the existing swap in particleIndices above (cf the comment), but the change is not deep enough in the system for it to work correctly.
Unless the bug was due to me using the system in the wrong way, I guess it would be good to have this extra piece of logic integrated in the next release.
Cheers!
|
|
|
Simultaneous cloth collision with terrain and character |
Posted by: a12345 - 27-01-2018, 11:49 PM - Forum: Obi Cloth
- Replies (1)
|
 |
Hi,
Is it possible to create a cloth that can detect collisions both with a terrain collider as well as the character that is wearing the cloth? Essentially I have a character wearing a trench coat that at some point will begin crawling on the floor. The cloth now needs to collide with both the character and the terrain and not disappear into the terrain.
How would I achieve this with Obi Cloth?
|
|
|
Callback for particle-particle collision |
Posted by: tooomg - 26-01-2018, 10:44 PM - Forum: Obi Fluid
- Replies (2)
|
 |
Hi there!
I'm looking for a way to know when particles from different phases are colliding, in order to do some custom logic for each collision. The collision physics itself is working so I guess there's nothing wrong with my setup, but it might be the case, I'm fairly new with Obi Fluid.
I've looked into the ObiSolver.OnCollision callback, but it seems that it only provides data for the collisions against the Colliders of my scene!
Is there a way of achieving this particle-against-particle detection? Maybe directly through the Oni API? I don't know if that's realistically feasible in terms of performance, but let's try hehehe
Cheers and thanks for this great plugin!
Tom
|
|
|
Using Obi Cloth With Blend Shapes |
Posted by: JoeParente34 - 24-01-2018, 11:30 PM - Forum: Obi Cloth
- Replies (2)
|
 |
Hi, I'm running into an issue with Obi cloth, that I can't seem to figure out. The cloth simulation is working great on any given mesh, until one of the blend shapes is activated. Then it seems like the cloth simulation is turned off. For example, I have the cloth simulation on some hair. There's a blend shape associated with the hair model to make it shorter, once this is turned on the cloth simulation stops. Is it not possible to have both working on a model at the same time? Am I doing something wrong settings wise?
Hope to hear from you soon, Thanks!
|
|
|
|