What is a situation:
Having object1 as main character with KinematicBody2D .
Having circle shape collider on object1.
Before calling method moveandcollide(velocity) in object1's script:
Suppose we have velocity: Vector2(10, 0) --- here we are going to the left.
And suppose another object2 is coming from the top. What to do how to detect that object2?
object2 is also KinematicBody2D
i have choosen KinematicBody2D for object2, because i don't need the physics to be applied to the object2, and that's why i have moved him by code and not by physics.
i choose for main character KinematicBody2D in place RigidBody2D, because i don't need the physics to be applied to the object1.
- i want the collision to be detected by object1's script, in his moveandcollide
Did i choose wisely types of my objects?
Should main character be RigidBody2D in order to detect collisions from all sides?