KinematicBody2D with PinJoint to Rigidbody behaving weird when KinematicBody rotates to 180 degree

HiasaeHiasae Posts: 2Member


I have a KinematicBody2D character and some Rigidbody chains. The chains and the character are connected via PinJoints. Now when i move the character the chains follow accordingly. If the characters rotation is about 180 degree, then the chains act weird.

The rotation in the scripts is simply: rotation += delta*ROTATION_SPEED

I have found a workaround, but was wondering if someone can explain me what causes this problem, so i can understand it and avoid related issues.

Answers

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file