I want this kinematicbody (left) to push this rigidbody (right) and make it roll.
To make it roll i presume I'd have to use add_force() or apply_impulse(). But I can't figure out how to detect collision. The best I could come up with is this:
enter code hereextends RigidBody2D
if $KinematicBody2D.get_position() == position:
But that's really shitty code, hope it gets the point across.
(I've also been trying it other ways with getslidecount() or get_slide collision(), but the $KinematicBody2D on the code returns null, although it is on the same scene, I'm trying to figure that out too.)