Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
In game parenting of Obi Particle Attachment
#15
(08-06-2023, 10:37 AM)Holty Wrote: OK new scene and fresh Obi assets and I'm getting the same thing. Think it's down to how I'm setting up the rope initially. I'm after long thin vertically hanging - non stretchy rope such as climbing rope about 15 to 20 meters in length.

Could you briefly go through the steps you would go through to create this please?

Hi,

There's not much that can go wrong while setting this up. The steps are:

1.- Create a new ObiRope object, GameObject->3D Object->Obi->ObiRope.
2.- Assign a blueprint to the rope, I used the "very long cable" included one.
3.- Rotate/translate the rope however you want. It's not necessary to deal with individual control points if you want a simple straight rope.
4.- Add 2 ObiParticleAttachment components to the rope: one static, one dynamic. The static one attaches one end of the rope to the rope's own transform, the dynamic one attaches to a spherical rigidbody.
5.- Create a trigger collider and add your script to it.

I've attached a zipped .unitypackage file with my scene, hope it helps.

let me know if you need further help,

kind regards


Attached Files
.zip   RopeSnap.unitypackage.zip (Size: 10.02 KB / Downloads: 1)
Reply


Messages In This Thread
RE: In game parenting of Obi Particle Attachment - by josemendez - 08-06-2023, 11:09 AM