Latest Threads |
Force Zone apply differen...
Forum: Obi Rope
Last Post: chenji
Yesterday, 05:15 PM
» Replies: 9
» Views: 303
|
Can I blend in and out of...
Forum: Obi Cloth
Last Post: josemendez
Yesterday, 04:42 PM
» Replies: 3
» Views: 125
|
Using a rigidbody/collide...
Forum: Obi Cloth
Last Post: josemendez
Yesterday, 09:29 AM
» Replies: 1
» Views: 57
|
Solver is too performance...
Forum: Obi Rope
Last Post: quent_1982
20-06-2025, 08:09 AM
» Replies: 40
» Views: 3,158
|
Obi 7 Model Scaling
Forum: Obi Cloth
Last Post: alkis
19-06-2025, 02:37 PM
» Replies: 2
» Views: 196
|
Obi Softbody instability?
Forum: Obi Softbody
Last Post: Aroosh
18-06-2025, 06:35 PM
» Replies: 0
» Views: 97
|
Tear Rod
Forum: Obi Rope
Last Post: chenji
18-06-2025, 08:34 AM
» Replies: 2
» Views: 158
|
Pipeline that bends
Forum: Obi Softbody
Last Post: josemendez
17-06-2025, 02:07 PM
» Replies: 11
» Views: 478
|
Memory Leaks?
Forum: General
Last Post: josemendez
16-06-2025, 08:45 PM
» Replies: 3
» Views: 273
|
Obi 7.0 ParticleAPI
Forum: Obi Rope
Last Post: alicecatalano
12-06-2025, 09:19 AM
» Replies: 12
» Views: 2,028
|
|
|
Rope static attachment seems to lag behind the moving object it's attached to |
Posted by: ShawnF - 25-07-2024, 02:26 PM - Forum: Obi Rope
- Replies (3)
|
 |
You can see what I mean here: https://youtu.be/cMG1YjnYDwM
The rope has an attachment to the character's hand, but it follows a bit behind the char as you move.
Solver is on FixedUpdate, character is being moved through physical forces. Both the character and the rope have interpolate on.
Code for the attachment is here, in case there's something about the initial setup that's causing problems:
Code: public void AttachParticle(RopeChar ropeChar, int particleIndex)
{
attachedRopeChar = ropeChar;
// Create a new attachment and set it to be attached to the character's hand
attachment = obiRope.gameObject.AddComponent<ObiParticleAttachment>();
attachment.target = attachedRopeChar.attachTransform;
// Handle gameplay of attached char (swings from hinge, the rope is just visual and used for collision detection)
attachedRopeChar.AttachToRope(this);
// Move the collided particle to the char's hand pos
UnityEngine.Vector3 relativePlayerPos = attachedRopeChar.attachTransform.position - solver.transform.position;
solver.positions.SetVector3(particleIndex, relativePlayerPos);
// Create a new particle group and assign it the particle that you collided with
ObiSolver.ParticleInActor particleInActor = solver.particleToActor[particleIndex];
ObiParticleGroup group = ScriptableObject.CreateInstance<ObiParticleGroup>();
group.particleIndices.Add(particleInActor.indexInActor); // index of the particle in the actor
attachment.particleGroup = group;
}
|
|
|
Rope hierarchy |
Posted by: zack_Lee - 24-07-2024, 08:40 AM - Forum: Obi Rope
- Replies (1)
|
 |
I want to recycle my rope when it doesn't collide and there are no other ropes above it. I've now solved the collision problem. But what about hierarchies? How do I know there is no other rope above this rope
|
|
|
Obi Rope Cursor ChangeLength With Collision |
Posted by: zack_Lee - 24-07-2024, 08:36 AM - Forum: Obi Rope
- Replies (3)
|
 |
When I was using Obi Rope, I wanted to dynamically modify the length of the rope. But modifying the length will cause the collision between the rope and the rope to fail, and the two ropes that are entwined with each other will untie, is there any solution?
|
|
|
Trying to render bubbly foam |
Posted by: Barliesque - 17-07-2024, 12:11 AM - Forum: Obi Fluid
- Replies (3)
|
 |
I'm working on creating an effect where sudsy white foam pours down from the ceiling to the floor. Here's a look at what I've got so far:
It's pretty close to what I'm after, but there are a couple of things yet I need to be able to control:
- The total number of particles per emitter seems to be restricted to 1000, making it problematic for the foam to pour down continuously rather than in bursts.
- I'd also like to be able to adjust the shininess of the liquid renderer. The Obi Fluid Renderer doesn't seem to do anything--I can remove it entirely, and everything stays the same.
|
|
|
Question About Collision Impulse |
Posted by: wenhao_zheng - 16-07-2024, 08:24 AM - Forum: Obi Softbody
- Replies (5)
|
 |
Hi!
Under your guidance, I was able to clamp the soft body with the rigid body. This effect is very good and meets our needs.
In our further requirements, we hope to use ArticulationBody to replace Rigidbody. In fact, ArticulationBody does not seem to be compatible with Obi.
Therefore, I hope to simulate the reaction force of the soft body in physical collision, so as to manually apply the reaction force to ArticulationBody.
In the collision-related documents, it is mentioned that developers can obtain the impulse of the collision.
For the above purpose, I collected this impulse information in the collision callback.
In my previous attempt, I directly used the impulse as the reaction force of the collision, but it seems that this is not the case.
I would like to ask if there is a way to convert the collision impulse into a reaction force.
Sorry, my physics is not very good. Thank you for your help.
|
|
|
Burst not installed? |
Posted by: Barliesque - 16-07-2024, 01:16 AM - Forum: Obi Fluid
- Replies (6)
|
 |
I'm getting pretty poor performance, which I'm guessing is due to Burst apparently not being active.
The BurstCollisionWorld script is disabled because OBI_BURST is undefined. I see that the Obi asmdef defines it, as long as the installed version of Burst is at least 1.2.3-verified. Burst 1.8.12 is installed in the project, so I don't understand what the issue is. Any help would be greatly appreciated!
|
|
|
|