0 votes

I have a kinematic body 3d and a level with gridmaps. So what I want is that wheneverthe kinematic body collides with the gridmap, it should bounce off. I have tried the bounce method but it bounce very little.

in Engine by (12 points)

Could you post the code you have tried?

1 Answer

0 votes

Kinematic bodies are not affected by forces. switch them to rigid if possible.
Or detect collisions in code (try using get_contact_count but i'm not sure whether it works with gridmaps) and apply respective changes to velocity

by (42 points)
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.