Hi learning godot3
I have a paddle. I can move it with getting mouse coordinates like
var mouse_position = get_viewport().get_mouse_position()
The problem is my KinematicBody2D will not respect the boundries of a static body, area2d. The body will simple and always follow the mouse.
or move it via moveandcollide then it will respect my walls I placed. However if an other object hits my KinematicBody2D this will have physic effect.
How do you handle this. In case1 respect walls or in case2 have no physics on the KinematicBody2D.