Latest Threads |
can you remove particles ...
Forum: Obi Softbody
Last Post: aardworm
09-07-2025, 07:09 AM
» Replies: 0
» Views: 112
|
ObiRope Mesh Renderer
Forum: Obi Rope
Last Post: quent_1982
08-07-2025, 11:27 AM
» Replies: 4
» Views: 410
|
How to dynamically change...
Forum: Obi Rope
Last Post: quent_1982
08-07-2025, 06:34 AM
» Replies: 6
» Views: 552
|
Pipeline that bends
Forum: Obi Softbody
Last Post: josemendez
04-07-2025, 09:52 AM
» Replies: 13
» Views: 1,289
|
How to implement/sync Obi...
Forum: Obi Rope
Last Post: quent_1982
01-07-2025, 01:48 PM
» Replies: 2
» Views: 372
|
Collisions don't work con...
Forum: Obi Rope
Last Post: chenji
27-06-2025, 03:05 AM
» Replies: 3
» Views: 444
|
Force Zone apply differen...
Forum: Obi Rope
Last Post: chenji
26-06-2025, 11:41 AM
» Replies: 11
» Views: 1,239
|
Can I blend in and out of...
Forum: Obi Cloth
Last Post: josemendez
24-06-2025, 04:42 PM
» Replies: 3
» Views: 443
|
Using a rigidbody/collide...
Forum: Obi Cloth
Last Post: josemendez
24-06-2025, 09:29 AM
» Replies: 1
» Views: 257
|
Solver is too performance...
Forum: Obi Rope
Last Post: quent_1982
20-06-2025, 08:09 AM
» Replies: 40
» Views: 5,599
|
|
|
Runtime Adding/Changing Control Points |
Posted by: Aolifu - 26-07-2021, 04:21 AM - Forum: Obi Rope
- Replies (1)
|
 |
I am trying to add new control points to the Obi Rope in runtime using the same method shown in the docs, so that by using a Linecast line of sight I can identify points which the rope could lay through with enough length, and update that real time as the player moves through the level.
https://gyazo.com/12e11ed1fd2779065ce15c923196efef
This is what happens when I try to add a control point in the middle of the rope, and I cant figure out what in particular is going wrong. Heres the code:
Code: Vector3 example, tangentLS = new Vector3(0, 0, 0);
example = (startPoint.position + endPoint.position) / 2 + Vector3.up - transform.position;
tangentLS = (endPoint.position - startPoint.position).normalized;
path.InsertControlPoint(1, example, -tangentLS, tangentLS, Vector3.up, 0.1f, 0.1f, 1, 1, Color.white, "test");
path.FlushEvents();
I also can't find in the API of how to change the position of any control Point in runtime, which I think I need to know for the Cursor Mu and ChangeLength to behave correctly.
Any help is appreciated, thanks.
|
|
|
Rope for a water skier? |
Posted by: KRMGPC - 17-07-2021, 08:21 AM - Forum: Obi Rope
- Replies (1)
|
 |
If i wanted to make a high speed water skier racing around being pulled by a boat, would Obirope be a good fit?
I'd want to rope to sag when the boat slowed and then exert a jerking and pulling force on the skier when the boat accelerated.
It seems like it would be, I just don't know if it will perform well with constant changes of force being exerted as the boat's speed changes, pskier direction changes and both go up and down on waves.
|
|
|
ObiRope Moving Towards control Point |
Posted by: jabraman - 16-07-2021, 09:06 PM - Forum: Obi Rope
- Replies (1)
|
 |
Hello,
I use Obi Rope and I'm dynamically instantiating an ObiRope (2 control points) between 2 cube rigid bodies. During runtime, if I slightly move one end (the cube) the other end moves towards it like a magnet. How do I control that?
Thanks Admin!
|
|
|
|