Making a Trampoline

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Nick888

Is there a way making a kinematicbody2d reacting like a trampoline or a spring?
Basically this i want is: If a first kinematicbody2d comes from the air and touching a second kinematicdody2d that is on the floor, then the second kinematicbody2d to react like a trampoline making the first kinematicbody2d to jump again on the air.

Thank you and i am sorry about my english.

:bust_in_silhouette: Reply From: GameVisitor

Check this link:

http://kidscancode.org/blog/2018/02/godot3_kinematic2d/

Under the section : Bouncing/reflecting and collision detection

Thank you very much!

Nick888 | 2019-04-29 06:57