|
|
Create a plank that is springy -can the rope shape be modified? |
Posted by: Ascensi - 05-07-2017, 03:12 AM - Forum: Obi Rope
- No Replies
|
 |
Would it be possible to generate a plank shape and give it the same tension/spring effect and strength?
I want a character to walk to the middle of a plank that has a brick at both ends and as the character walks the board receives the character's weight, bends down from the middle and have the board break if the weight in greater then x amount. I also want to be able to add sound triggers via weight basically giving the player the signal that the board is about to break.
I also need these sound triggers based on weight for the plank as well - I have some great tightening rope/wood squeaking audio clips to use. Would Obi Cloth be better for this senario?
Lastly could you please add the suspension bridge as seen on the asset store page or create a new one to the asset scene demos?
Thank you, Kurt.
|
|
|
Rope Enable/Disable |
Posted by: PhantomBadger - 04-07-2017, 10:43 AM - Forum: Obi Rope
- Replies (5)
|
 |
I'm attempting to disable/enable the rope at runtime, I'm correctly disabling/enabling the Obi Rope object, the two anchors at either end, and even the solver, however, upon enable the rope then starts flying around violently, either crashing Unity or flying out of the room into the abyss.
Is there a function or anything I should be calling/doing after re-enabling the rope to allow it to settle properly.
|
|
|
Attaching objects along the rope |
Posted by: eyefisher - 01-07-2017, 09:13 PM - Forum: Obi Rope
- Replies (1)
|
 |
I am looking into purchasing ObiRope. The particular need that I have is for a rope system that can have objects attached to it along its length, like a clothesline. Is this possible with this asset. I saw examples where objects are attached at either end, but nothing along the length.
Thanks in advance.
Eric
|
|
|
Obi 3.1.1 Released |
Posted by: lidiamartinez - 30-06-2017, 06:07 PM - Forum: Announcements
- No Replies
|
 |
What has been changed:
- Installation is no longer required.
Obi now works right out of the box, so the installation window has been removed, and the “Editor default resources” and “Gizmos” folders removed.
You can safely delete these from your project before installing 3.1.1.
- Particle renderer is now much faster and also allocates less memory.
If you buy our assets through our website you help us more! http://obi.virtualmethodstudio.com
Thanks everybody!
|
|
|
Mass Collisions for Rope |
Posted by: PhantomBadger - 27-06-2017, 01:49 PM - Forum: Obi Rope
- Replies (3)
|
 |
Hi all,
Im looking to see if it's possible to have the Obi Rope collide with essentially everything in the scene. From reading the docs it seems the only performance issue is during the transfer between C# and C++, which is a performance hit we're fine with having at the start assuming that's the only place it is present.
My current solution is to run something like this:
Code: /// <summary>
/// Collects all the MeshColliders in the scene and attached it to ObiSolver
/// </summary>
private void CollectAllColliders()
{
//Get all mesh colliders in the scene
MeshCollider[] allColliders = FindObjectsOfType<MeshCollider>();
//Make a collider group
Obi.ObiColliderGroup colGroup = new Obi.ObiColliderGroup();
colGroup.colliders = new List<Collider>(allColliders);
//Attach it to the solver
ObiSolver.colliderGroup = colGroup;
}
in the Start() method. This runs fine, but then Unity promptly crashes on the following first frame. The number of colliders is around 924. My main questions stemming from this are as follows;
- Is this approach possible, but we're just exceeding some kind of upper-limit with colliders?
- Is there an alternate approach to getting all possible colliders to interact with a single rope instance?
- Does the performance hit from C#->C++ happen only st the start when they're registered, or every frame as their positions are updated?
I would assume the solution should this not be possible is to simply cherry pick the most important colliders.
Thanks for your response!
|
|
|
Adding custom particle forces |
Posted by: herbst - 26-06-2017, 05:12 PM - Forum: General
- Replies (7)
|
 |
Hey there, I'm sure I'm overlooking something simple here.
I'm trying to apply custom forces to particles.
So what I did is basically duplicate the ObiSphericalForceZone, since it contains the relevant calls to Oni.AddParticleExternalForces.
However, no matter what I do, this custom script does not apply any forces to the particles.
Is there some magic thing I have to do to make Obi use these custom forces?
Otherwise, I have to put the code directly into the SphericalForceZone or AmbientForceZone, which I'd like to avoid since I am using both already.
|
|
|
Feedback |
Posted by: jamesong - 25-06-2017, 10:34 PM - Forum: Obi Rope
- Replies (1)
|
 |
I've been trying out ObiRope and thought I'd pass along early feedback:
- I followed the rope tutorial, but "Initialize" was greyed out with "Rope section is missing". I had to look at one of the sample scenes to see that "Section" was supposed to be connected to DefaultRopeSegment, which fixed it. I assume the import settings on ObiRope.cs are supposed to point to that so it's connected automatically, but they're all None for me in 5.6. I've seen this happen elsewhere, so maybe this is a Unity bug, but you might want to check the assignments.
- I couldn't find the curve objects anywhere in the component menu and the tutorial didn't say where they are. I'd suggest describing this is in the first-time user tutorial, since it's not obvious the first time around. I think they're actually missing component menu items (spent a while squinting through it looking for them), I had to add it manually.
- Importing this added a bunch of warnings to my project:
Cannot add menu item 'Component/Physics/Obi/Obi Bone' for method 'ObiBoneEditor.AddObiBone' because a menu item with the same name already exists.
Several of these are being added in two places:
[MenuItem("Component/Physics/Obi/Obi Rope",false,0)]
[AddComponentMenu("Physics/Obi/Obi Rope")]
I've commented out the MenuItem version, since it's the AddComponentMenu version that's actually ending up in the menu for me.
- Assets/Obi/Editor/ObiColliderGroupEditor.cs(17,20): warning CS0414: The private field `Obi.ObiColliderGroupEditor.group' is assigned but its value is never used
Also trivial to fix.
- There are also some shader warnings that I haven't tried to get rid of ("Use of UNITY_MATRIX_MV is detected"). At least these ones only seem to appear on import, the others show up all the time. I think these are just poorly-thought-out warnings on Unity's part.
|
|
|
|