RigidBody2D vertical movement only

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By vitalfadeev
:warning: Old Version Published before Godot 3 was released.
  1. I want:
    see: https://github.com/vitalfadeev/balls/raw/master/balls.png

  2. I get:
    see: https://github.com/vitalfadeev/balls/raw/master/miss.png

  3. Question: how? It possibleuse - use RigidBody2D for vertical falling balls, Y axes motion only?

You can play this game or see sources.

You probably want KinematicBody2D for non-physically-realistic movement of objects.

Bojidar Marinov | 2017-01-07 21:38

Can you explain a bit more what you want to achieve? maybe you don’t need physics at all (if it is what I think).

eons | 2017-01-07 22:11

:bust_in_silhouette: Reply From: vitalfadeev

[Solved]
I use KinematicBody2D. And add RectangleShape2D.
Balls now moved down only.

Thanks.