Edit of asset "Rope for Kinematic2D" Accepted

Old/Current New/Edit
Title Rope for Kinematic2D Rope for Kinematic2D
Description Unlike RigidBody2D (RB2D), KinematicBody2D (KB2D) is not affected by outside physical forces. It only moves, where it is programmed to move. And it has the very convenient "move_and_slide()" function for it, which RB2D doesn't have, unfortunately. If you tie a KB2D to a Rope made of RB2Ds and move it, the Rope will be overstretched and glitches out, since KB2D isn't affected by the rope's physics. The solution for this problem is to manipulate the velocity vector of KB2D. Usually you only program the Inputs in and that's it. In our case, we will add a pull-vector, which points to the direction, in which the rope would pull, to our velocity vector. Unlike RigidBody2D (RB2D), KinematicBody2D (KB2D) is not affected by outside physical forces. It only moves, where it is programmed to move. And it has the very convenient "move_and_slide()" function for it, which RB2D doesn't have, unfortunately. If you tie a KB2D to a Rope made of RB2Ds and move it, the Rope will be overstretched and glitches out, since KB2D isn't affected by the rope's physics. The solution for this problem is to manipulate the velocity vector of KB2D. Usually you only program the Inputs in and that's it. In our case, we will add a pull-vector, which points to the direction, in which the rope would pull, to our velocity vector.
Category Demos Demos
License MIT MIT
Repository Provider GitHub GitHub
Repository Url https://github.com/meloonics/Kinematic2DRope_Demo https://github.com/meloonics/Kinematic2DRope_Demo
Issues Url https://github.com/meloonics/Kinematic2DRope_Demo/issues https://github.com/meloonics/Kinematic2DRope_Demo/issues
Godot version Godot 3.2 Godot 3.2
Version String 1.0 1.0
Download Commit 62b1d74eb47e074fc11df29f99347712c61b6cdd 62b1d74eb47e074fc11df29f99347712c61b6cdd
Download Url (Computed) https://github.com/meloonics/Kinematic2DRope_Demo/archive/62b1d74eb47e074fc11df29f99347712c61b6cdd.zip https://github.com/meloonics/Kinematic2DRope_Demo/archive/62b1d74eb47e074fc11df29f99347712c61b6cdd.zip
Icon Url https://raw.githubusercontent.com/meloonics/Kinematic2DRope_Demo/main/icon2.png
https://raw.githubusercontent.com/meloonics/Kinematic2DRope_Demo/main/icon2.png
Preview Insert
Type video
Image/Video URL https://www.youtube.com/watch?v=UJ4vDDjpHQM
Thumbnail