Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solver is too performance heavy
#16
Hi,

Took a look at your sample project, but it doesn't make any sense to me.

Current behavior is: as soon as the player grabs the rope, it begings jittering while skidding backwards. This happens because the rope is colliding against the capsule, while attached inside: such a situation is physically impossible to solve situation and should be avoided as explained here).

Swinging with the A and D keys doesn't work since the CustomSwing() method in your CustomGrabbing class doesn't seem to be called anywhere.

There's also many invisible rigidbodies attached to the rope -almost one per particle!- and also attached between them using CharacterJoints. I don't understand the purpose of this: it's as if you're simulating the same rope twice using different engines, and then trying to get both versions to follow each other.

Deleting all rigidbodies (poin1-point20) and ensuring the capsule doesn't collide with the rope fixes the strange behavior.

Note what you seem to be trying to do is very similar to some of the including sample scenes (VineSwinging, specifically). I'd suggest taking a look at them.

let me know if I can be of further help,

kind regards,
Reply


Messages In This Thread
Solver is too performance heavy - by quent_1982 - 27-05-2025, 03:53 PM
RE: Solver is too performance heavy - by josemendez - 12-06-2025, 12:33 PM
RE: Solver is too performance heavy - by chenji - 16-06-2025, 07:30 AM
RE: Solver is too performance heavy - by chenji - 16-06-2025, 01:40 PM
RE: Solver is too performance heavy - by chenji - 17-06-2025, 07:10 AM
RE: Solver is too performance heavy - by chenji - 20-06-2025, 07:56 AM