Latest Threads |
Obi Softbody IndexOutOfRa...
Forum: Obi Softbody
Last Post: Aroosh
1 hour ago
» Replies: 2
» Views: 53
|
Rope pinned to two dynami...
Forum: Obi Rope
Last Post: Crimson1462
09-05-2025, 07:51 PM
» Replies: 2
» Views: 128
|
Unity 6 Console Spam abou...
Forum: Obi Fluid
Last Post: josemendez
09-05-2025, 08:03 AM
» Replies: 3
» Views: 1,107
|
the Obi cloth has some co...
Forum: Obi Cloth
Last Post: josemendez
09-05-2025, 08:00 AM
» Replies: 2
» Views: 61
|
Hard crash in build after...
Forum: Obi Rope
Last Post: goldfire
04-05-2025, 10:10 PM
» Replies: 2
» Views: 206
|
Particle collision with s...
Forum: Obi Softbody
Last Post: Duncano
03-05-2025, 02:07 PM
» Replies: 2
» Views: 225
|
Memory leak warning with ...
Forum: Obi Fluid
Last Post: Softscale
02-05-2025, 04:36 PM
» Replies: 3
» Views: 255
|
Rope cursor with attachme...
Forum: Obi Rope
Last Post: josemendez
01-05-2025, 07:19 PM
» Replies: 1
» Views: 177
|
Issue Saving/Loading Part...
Forum: Obi Rope
Last Post: josemendez
30-04-2025, 01:20 PM
» Replies: 10
» Views: 812
|
Rope extension, vibration...
Forum: Obi Rope
Last Post: josemendez
29-04-2025, 04:09 PM
» Replies: 26
» Views: 2,032
|
|
|
Forum Registration errors |
Posted by: lidiamartinez - 16-11-2017, 05:22 PM - Forum: Announcements
- No Replies
|
 |
Hi folks!
We are experiencing errors with our server due to an update to PHP 7. We have to reset the forum and upgrade it. Hopefully there are no other errors arising these days.
Sorry for the inconvenience!
VM Team
|
|
|
Creating rope path via script |
Posted by: leonrdo - 14-11-2017, 01:59 PM - Forum: Obi Rope
- Replies (6)
|
 |
Hello, I was wondering there's a way to create the rope curve/shape (bezier or catmull) via script?
Like, if I want to make a spiral shape or something else at runtime.
Thanks in advance
|
|
|
Pin Constraints Vanishing |
Posted by: PhantomBadger - 14-11-2017, 11:56 AM - Forum: Obi Rope
- Replies (4)
|
 |
Hi all,
I've just updated to 3.2 and have tried to add Pin Constraints to my Rope, this works as expected, however when I hit play one of the pin constraints just gets lost, it loses the object reference and all the parameters (offset, break resistance) become 0. There are other particles pinned to the same object that work fine, so I'm not sure what the problem is here.
I can get it working fine with Handles but that obviously doesn't give the same desired behaviour as the pin constraints do. The objects being pinned to contain a Sphere Collider, Rigidbody, Obi Collider, and Obi Rigidbody. They are on the same layer as the rope.
Any ideas?
Cheers,
Josh
|
|
|
Rigid rope with heavy weight and 2 pin constraints |
Posted by: dignifiedweb - 13-11-2017, 04:44 AM - Forum: Obi Rope
- Replies (2)
|
 |
Hi,
I was wondering for general advice on how to make the Obi Rope more rigid and less springy? I was able to add more distance constraints (300 or so) and that helped a lot, but I found I also had to take the mass down of each particle (painted to select). I got the rope to be rigid and almost no spring, but my problem is I have a pin constraint on the top particle and a pin constraint on the bottom. The bottom one is attached to a sphere collider and I have to make the sphere rigidbody's weight really light or else the springiness comes into effect in full force again with a heavier weight on it.
Do you think I just have to increase the resolution? I found that resolution (amount of particles) is tough because I'm using a very tiny rope/string.
Any suggestions would be much appreciated, thank you.
|
|
|
Adding pin constraint to particle in runtime. |
Posted by: aaamarkin - 08-11-2017, 09:02 PM - Forum: Obi Rope
- Replies (4)
|
 |
Hi.
I have existing rope with couple on handlers on both of rope ends (attached to first and last rope particle).
I want to substitute them (or possibly only one of them with pin constraint).
I think handle can be removed/added with the help of disabling/enabling handle gameObject.
For adding ping constraint I'm launching some variations of following coroutine:
Code: private IEnumerator AttachHook(){
yield return 0;
// Pin both ends of the rope (this enables two-way interaction between character and rope):
ObiPinConstraints pinConstraints = obiRope.GetComponent<ObiPinConstraints>();
ObiPinConstraintBatch pinBatch = pinConstraints.GetBatches()[0] as ObiPinConstraintBatch;
// remove the constraints from the solver, because we cannot modify the constraints list while the solver is using it.
// pinConstraints.RemoveFromSolver(null);
// remove the first constraint.
// pinBatch.RemoveConstraint(0);
pinBatch.AddConstraint(obiRope.particleIndices[_obiParticleHandle.FirstParticleIndex], obiColliderToAttach, obiOffsetToAttach, 0);
// Add the rope to the solver to begin the simulation:
pinConstraints.AddToSolver(null);
// pinConstraints.PushDataToSolver();
}
I was experimenting with Adding/Removing from solver and with pushing data back to solver without success.
I can see generated with script pin constraint in unity inspector, but it does nothing.
What am I missing?
Should I reinitialize rope somehow?
Thanks a lot.
|
|
|
|