Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
rope climbing
#5
(14-08-2023, 06:23 AM)josemendez Wrote: Just set the particle's inverse mass to zero, this will disable physics for them. Then override their position with  your own calculations.


You can use collision filters for this. You can also calculate and set them at runtime, see the very bottom of this page: http://obi.virtualmethodstudio.com/manua...sions.html

kind regards,
The thing is that when I turn off the mass of a certain section of rope and reduce its length using _cursor.ChangeLength(_obiRope.restLength + lengthChange * Time.deltaTime);

Then instead of shrinking on both sides, it shrinks only on the side where all particles have mass greater than 0.
Reply


Messages In This Thread
rope climbing - by Alexander34 - 08-08-2023, 03:16 PM
RE: rope climbing - by josemendez - 09-08-2023, 07:18 AM
RE: rope climbing - by Alexander34 - 11-08-2023, 05:59 PM
RE: rope climbing - by josemendez - 14-08-2023, 06:23 AM
RE: rope climbing - by Alexander34 - 15-08-2023, 10:51 AM
RE: rope climbing - by josemendez - 15-08-2023, 11:28 AM