+3 votes

I am having a problem getting two player instances to properly collide with physics.

My goal is to allow the player with the greatest amount of force (setlinearvelocity) to nudge other players that are not moving or moving slower; in a somewhat realistic manner. :)

I am using RigidBody2D with Character mode; if that makes any difference.
Anyone know how I can do this?

in Engine by (489 points)
edited by

Adding an answer to not list as unanswered

1 Answer

0 votes
Best answer

Well. I have been a dumb. I forgot to set the other player from Kinematic to Character in order to make it move when I nudge it!
It also helps to adjust "Damp Overide -> Linear", Mass and Friction.

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