Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Helper functions/commands
#1
Hello! Very nice plugin, results look way better than anything I have seen in games!

I have a question about making working with the plugin easier.

Are there any kind of helper scripts/commands that let you easily connect two objects with a rope in the editor or ar runtime? 

I am not really a programmer so it's not that easy for me to create such things. 

I am just wondering maybe people have made such things in the past. 

Thanks, really enjoying playing around with this plugin!
Reply
#2
(10-11-2025, 06:03 PM)kurm1s0 Wrote: Are there any kind of helper scripts/commands that let you easily connect two objects with a rope in the editor or ar runtime? 

Hi!

Yes, there's ObiParticleAttachment and ObiStitcher. Refer to the manual for details.

kind regards,
Reply
#3
Thanks, but I'm thinking more like something that when I click a button it creates the whole obi scene, rope, all the points between two game objects. 

I understand I'm asking for a button that does a lot, but I was just wondering maybe there is something like that  Gran sonrisa
Reply
#4
(10-11-2025, 06:38 PM)kurm1s0 Wrote: Thanks, but I'm thinking more like something that when I click a button it creates the whole obi scene, rope, all the points between two game objects. 

You'll need quite a lot of code for that. This involves creating a solver component, creating a blueprint asset, generating control points for the blueprint, generating particle groups, creating a ObiRope component and feeding the blueprint to it, then assigning the blueprint to the rope and placing the rope in the solver. Finally, create attachments that bind the particle groups to the desired objects.

There's many sample scenes and scripts included with the asset (Obi/Samples/ folder) that do similar things ("RopeNet" or "GrapplingHook" scenes may be useful). You may be able to reuse some of the sample code, but how much ultimately depends on the specifics of your goal. You'll also need to understand how the code works to adapt it to your case.

Obi assumes you're comfortable programming (see our FAQ):

Quote:Is scripting / coding required to use Obi?

For anything except the bare basics, yes. Obi is written in HPCS (high performance C#) and HLSL, and it exposes a C# API. Obi deals with hundreds of particles and thousands of constraints every frame. These are exposed to you, the user, so learning how to write performant code is a prerequisite.

if you're not a programmer, I'm afraid the learning curve will be quite steep: writing C# is a must in order to do anything beyond the bare basics. Maybe you can hire a programmer to do this for you?

kind regards
Reply