Latest Threads |
How to dynamically change...
Forum: Obi Rope
Last Post: quent_1982
04-07-2025, 11:29 AM
» Replies: 2
» Views: 109
|
Pipeline that bends
Forum: Obi Softbody
Last Post: josemendez
04-07-2025, 09:52 AM
» Replies: 13
» Views: 805
|
How to implement/sync Obi...
Forum: Obi Rope
Last Post: quent_1982
01-07-2025, 01:48 PM
» Replies: 2
» Views: 187
|
Collisions don't work con...
Forum: Obi Rope
Last Post: chenji
27-06-2025, 03:05 AM
» Replies: 3
» Views: 256
|
Force Zone apply differen...
Forum: Obi Rope
Last Post: chenji
26-06-2025, 11:41 AM
» Replies: 11
» Views: 743
|
Can I blend in and out of...
Forum: Obi Cloth
Last Post: josemendez
24-06-2025, 04:42 PM
» Replies: 3
» Views: 243
|
Using a rigidbody/collide...
Forum: Obi Cloth
Last Post: josemendez
24-06-2025, 09:29 AM
» Replies: 1
» Views: 146
|
Solver is too performance...
Forum: Obi Rope
Last Post: quent_1982
20-06-2025, 08:09 AM
» Replies: 40
» Views: 4,231
|
Obi 7 Model Scaling
Forum: Obi Cloth
Last Post: alkis
19-06-2025, 02:37 PM
» Replies: 2
» Views: 256
|
Obi Softbody instability?
Forum: Obi Softbody
Last Post: Aroosh
18-06-2025, 06:35 PM
» Replies: 0
» Views: 137
|
|
|
Detecting if Vector3 is within ObiFluid volume? |
Posted by: Mitch@PG - 15-10-2018, 05:17 PM - Forum: Obi Fluid
- Replies (8)
|
 |
Also:
- Uninstantiating particles within the radius of a Vector3 location
And / or:
- Changing values of an Emitter Material at runtime, such as Resolution or Rest Density
So, given an arbitrary Vector3 world location, will it be easy to determine if that location is within the volume of a collection of Obi Fluid particles? The Obi Fluid will be at rest in a container when I need to do this, so it wont be run while fluid is flying around the scene or anything. I've not had the chance to properly trawl through the API documentation yet, so my apologies if there's an easy answer in there.
The two next questions are pretty much as written; is there an easy way to uninstantiate particular particles? Again, apologies if this is obvious in the API docs!
And is it advisable / possible to alter the properties of Emitter Materials at runtime?
Thank you!
|
|
|
Counting Particles |
Posted by: docgonzzo - 13-10-2018, 03:33 AM - Forum: Obi Fluid
- Replies (3)
|
 |
Hi There,
I'm working on a 2D game (Unity) about transferring fluid from one cup to another cup.
To measure success, I need to count the number of particles that were transferred from the 1st cup to the 2nd cup. Currently, I am subscribing to the Solver.OnCollision event. I have a "Trigger=true" BoxCollider2D inside the 2nd cup that I compare with the event callback Collider. My code is very similar to the code shown in this thread:
http://obi.virtualmethodstudio.com/forum...=collision
My problem is that the "count" is never actually correct. It seems to be always less than the actual count. I'm wondering if there's possibly collisions not being detected? I have my Fixed TimeStep set to 0.005.
The transfer can be violent and quick sometimes, but the fluid never clips out of the cup. I'm only using 55 particles.
|
|
|
Is constraintIndex same thing as the particle index? |
Posted by: jb88886 - 12-10-2018, 02:11 AM - Forum: Obi Cloth
- Replies (1)
|
 |
In the scene, I have a tearable cloth and a rod that will be piercing the cloth. But because I'm changing the position of the rod instead of applying physics to it, the cloth won't recognize the rod to tear. But collision detection works as intended. So, I'm trying to tear the cloth at the point of collision by calling Tear(contact.particle). But it doesn't seem to do anything. Is the constraintIndex same as the particle index? If it's not, how would we find the constraintIndex at the point of collision?
Thank you,
|
|
|
Solidify fluid into a mesh? (Think concrete) |
Posted by: Apophix - 11-10-2018, 04:56 PM - Forum: Obi Fluid
- Replies (1)
|
 |
Hi - I haven't purchased the asset yet, I want to know if this is something I can do with it before I do. I would like to have the player pour some liquid "cement" into a container and then eventually solidify the fluid into a mesh. I would like to know if this is possible, and if so, how straightforward would it be? Thanks.
|
|
|
Optimizing |
Posted by: int0thewind - 11-10-2018, 04:27 AM - Forum: Obi Cloth
- Replies (1)
|
 |
Hey Jose,
I've seen some Youtube videos and read some documentation about optimization. I'm curious if you could elaborate in anyway about optimizing any further? For instance, about a month ago I had contacted you about fixing a cape I was attaching to a character. That cape had quite a few white dots, are those representing mesh vertices? The game running inside unity would run around 300 fps, after I had the cape attached and working, it went down to 140 which is quite a hit. I'm not sure if i'm doing something wrong? Please let me know if you have any feedback and I greatly appreciate your software package and your time. Thanks.
|
|
|
Looking for contractor with Obi Fluid experience |
Posted by: The Munky - 10-10-2018, 11:50 PM - Forum: Obi Fluid
- No Replies
|
 |
Hey folks!
We are using Obi Fluid and Obi Ropes in our title Drunkn Bar Fight (https://store.steampowered.com/app/52855...Bar_Fight/)
We love it! Ropes is amazing! We are designing levels around the feature now.
Fluid has been working well for us also but even though the fluid behaves well, it doesn't look as good as it could or should. I had our programmer and our artist try to adjust the setting but both gave up before improving our situation.
I would be interested in hiring a contractor to help us make things look better using the Obi fluid package.
Do you have a recommendation for a contractor who can jump in and assist us with this task?
Keith
|
|
|
Counting total particles into bucket |
Posted by: FamilyGamesTime - 09-10-2018, 03:29 AM - Forum: Obi Fluid
- Replies (1)
|
 |
Hi,
Using the Obi Fluid faucet and bucket example but with a lifespan of say 5 on the particles, how would I go about counting the total particles that have entered the bucket? This would include the particle count after the lifespan of the current particles expire and new particles are generated. Basically what I'm trying to do is allow the user to move the bucket and calculate a score based on how many particles enter the bucket in total. The liquid stream may come in bursts (e.g. 500 in 1 second, then the particles are expired and another round comes a few seconds later), or it may be a constant stream but just 500 active particles at any one time.
So if they catch all the particles in the first stream I want the score to be 500, then those particles expire, and if they catch all the particles in the second stream the score would be 1000.
I've used the collider example and tested if the collider is the bucket, which gives me a current total count in the bucket. Because the ID of the particles are reused when the expire, I can't keep a list of all particle IDs that have collided with the bucket.
Is there some sort of OnExpire event I can hook in to? This way I could check at expire time if the particle is colliding with the bucket and add 1 to the overall score.
Thanks.
|
|
|
Moving rope (attach/fixed point) without applying force to the rope |
Posted by: KjetilMV - 03-10-2018, 09:19 AM - Forum: Obi Rope
- Replies (8)
|
 |
Hi
I have moving object which my object must be(or seem to be) attached to. What I need to do is have my rope moving with the object, without any (or a minimal amount of) force being applied to the rope. In other words: the rope must hang straight down even though the parent object is moving.
Any suggestions or tips on how to achieve this?
Thanks in advance.
|
|
|
|