Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  How do i add(use) or remove constraints arbitrarily on each particle in runtime
#4
(27-02-2020, 12:56 PM)ab8228657 Wrote: I wanted to create an effect like this video, where the feet of the character can create a constraint on any part of the rope, whether it's the rocking of the character or the climbing of the net.

Hi,

The rope in that video is not made by adding "constraints" by the feet/hands, like you seem to assume. It's quite noticeable it has 3 different parts:

- a single spring constraint between the hands and the top of the rope
- a straight, physics-less section between the hands and the feet
- and a particle-based rope from the feet down.

You'll need to build a wrapper class that keeps track of the entire rope length, and adapts the length of the spring and the particle section based on where the character is positioned along the entire rope.
Reply


Messages In This Thread
RE: How do i add(use) or remove constraints arbitrarily on each particle in runtime - by josemendez - 27-02-2020, 01:02 PM