0 votes

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.

in Engine by (218 points)

1 Answer

+1 vote
Best answer

Check this link:

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

Under the section : Bouncing/reflecting and collision detection

by (849 points)
selected by

Thank you very much!

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.