Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rope Climb Ability
#4
(12-10-2018, 02:59 PM)JacobSiler Wrote: Thank you for your help.

My character now detects the rope collisions, however, I have been unable to work out how to get the transform of an individual particle to use for positioning the character while she climbs. I assume that perhaps this should actually be done with the pin constraint documentation you sent me, although I am having trouble sorting through what I need and don't need to use for this system.
I am not sure how to get an ObiActor to get particle position information from so my character knows where the rope is positioned.

Is the rope already an ObiActor, or do I need to add one as a component? I have been unable to find one I can add in the inspector.

Thanks again,
JacobSiler

Hi,

ObiActor is the abstract base class for ObiRope. As an abstract class, you cannot instantiate it. All ropes are already an actor.

Follow the manual for more info on how to get particle positions from an actor:
http://obi.virtualmethodstudio.com/tutor...icles.html

Your best bet if you only need to get the position of a few particles is to use the low-level getters described in the last section, specifically Oni.GetParticlePositions().
Reply


Messages In This Thread
Rope Climb Ability - by JacobSiler - 18-09-2018, 10:22 PM
RE: Rope Climb Ability - by josemendez - 19-09-2018, 08:55 AM
RE: Rope Climb Ability - by JacobSiler - 12-10-2018, 02:59 PM
RE: Rope Climb Ability - by josemendez - 12-10-2018, 07:31 PM
RE: Rope Climb Ability - by JacobSiler - 28-05-2020, 08:26 AM
RE: Rope Climb Ability - by Alexander34 - 08-08-2023, 03:47 PM