Latest Threads |
Stretching verts uniforml...
Forum: Obi Softbody
Last Post: Aroosh
Yesterday, 05:32 AM
» Replies: 0
» Views: 83
|
Scripting rod forces
Forum: Obi Rope
Last Post: chenji
11-09-2025, 01:15 PM
» Replies: 25
» Views: 2,815
|
Burst error causing crash...
Forum: Obi Rope
Last Post: josemendez
10-09-2025, 07:03 AM
» Replies: 1
» Views: 202
|
Controlling speed of emit...
Forum: Obi Fluid
Last Post: josemendez
06-09-2025, 06:29 AM
» Replies: 1
» Views: 458
|
Looks nice on editor but ...
Forum: Obi Fluid
Last Post: josemendez
04-09-2025, 07:20 AM
» Replies: 3
» Views: 704
|
How to Shorten or Scale t...
Forum: Obi Rope
Last Post: josemendez
02-09-2025, 09:53 AM
» Replies: 5
» Views: 790
|
The Limitation of Using O...
Forum: Obi Rope
Last Post: josemendez
01-09-2025, 10:30 PM
» Replies: 1
» Views: 528
|
Bug Where a Straight Segm...
Forum: Obi Rope
Last Post: josemendez
01-09-2025, 08:46 PM
» Replies: 1
» Views: 500
|
Having an issue with obi ...
Forum: Obi Rope
Last Post: Ben_bionic
29-08-2025, 04:23 PM
» Replies: 4
» Views: 999
|
Non-uniform particle dist...
Forum: Obi Rope
Last Post: chenji
29-08-2025, 09:05 AM
» Replies: 4
» Views: 850
|
|
|
Simple and efficient way to make Obi Fluid rise/lower in a cylinder container |
Posted by: zkkzkk32312 - 18-12-2020, 05:58 AM - Forum: Obi Fluid
- Replies (7)
|
 |
Hello,
I am looking for some help to make a simple Oil Fluid project that are
-Contained in a cylinder container for its entire life (liquid in a tank)
-Has the ability to rise up and lower down (to the max height of the tank or to empty tank)
-Uses the less amount of resources because of the limited functionality required as listed above
So far I was able to use the burst mesh emitter to fill the tank when the scene start
but I am getting terrible FPS from the blueprint that I am using (this is my assumption, my blueprint's settings is the problem?)
240 fps vs 20 fps when the sovler is enabled vs disabled
josemendez if you can give me any hint it will be awsome.
thanks,
Zack
|
|
|
Cloth scripted particle attachment in runtime |
Posted by: ben_monash - 17-12-2020, 08:50 AM - Forum: Obi Cloth
- Replies (2)
|
 |
Hi,
I am trying to simulate cloth manipulation in Unity 2019.6.16 and Obi Cloth 5.
Currently, I am attaching a sphere to a particle group on the cloth and have written a script allowing me to control the sphere with my mouse (images below).
I want to be able to grasp (click) anywhere on the cloth and manipulate it, and I know there is a better way than creating a few hundred spheres and attaching them individually to each particle in the cloth.
My issue is that I am fairly new to Unity and Obi Cloth, and I am totally stuck on how to script this type of interaction. Specifically, I am not quite sure where to start, should I be modifying the "ObiParticleAttachment.cs" associated with the cloth, or should I create a new .cs file? If I create a new .cs file then how do I access/reference my cloth and its "Obi Particle Attachment" component?
Thanks,
Ben
|
|
|
Difference between URP shaders for v5.6.2? |
Posted by: zkkzkk32312 - 17-12-2020, 12:59 AM - Forum: Obi Fluid
- Replies (2)
|
 |
Hello,
I am new to using Obi Fluid v5.6.2 in URP in 2019.4+,
I notice that there are 3 different URP shaders
-FluidShaderURP
-ParticleShaderURP
-SimpleParticleShaderURP
I tried to playing with all the example scenes by using the above 3 shaders on the emitter and noticed only the particleShaderURP would actually render
My question what are the difference between them and when should I use the other 2 shaders?
Thank you
|
|
|
Best way to remove particles at runtime |
Posted by: ary1111 - 16-12-2020, 07:47 PM - Forum: Obi Fluid
- Replies (2)
|
 |
So I'm trying to have particles disappear when they collide with an object. I have tried three methods but all seem to cause the emitter to behave weird. When the particles collide with the object they do disappear but it seems like at a certain point (30 seconds in), particles just disappear as soon they emitted when I use either one of these methods.
Code: private void Solver_OnCollision(ObiSolver s, ObiSolver.ObiCollisionEventArgs e)
{
var world = ObiColliderWorld.GetInstance();
foreach (Oni.Contact contact in e.contacts)
{
// look for actual contacts only:
if (contact.distance < 0.01f)
{
var col = world.colliderHandles[contact.other].owner;
if (col.tag == "Outlet")
{
Debug.Log("Remove Particle");
if(method1)
emitter.solver.actors[0].DeactivateParticle(contact.particle);
else if(method2)
emitter.life[contact.particle] = 0;
else if(method3)
emitter.KillParticle(contact.particle);
}
}
}
}
Is there a standard way for removing specific particles when a collision takes place?
|
|
|
Emitter Visibility |
Posted by: nskok - 16-12-2020, 03:02 AM - Forum: Obi Fluid
- Replies (3)
|
 |
When create an emitter, there is no visible emitter in the scene, just direction arrows, so I am unable to scale my emitter
How do I make the emitter visible like in tutorials?
|
|
|
|