0 votes

I am trying to get started on my first project using Godot. I added a Static Body 2d for my background and inserting a simple collision along the bottom for the player to walk on. Then, I created a Rigid Body 2D for the player, and gave it a triangle collision shape to stand on. My problem is, once I click run, the player object immediately falls over and turns upside-down, on the triangle's point. What is going on here?

in Engine by (15 points)

1 Answer

+2 votes
Best answer

A RigidBody handles rotational forces. However, there are four modes a RigidBody can use in Godot. You'll find it in the properties tab, the one you'll probably want is Character. This mode will stop the rotation forces.

by (5,252 points)
selected by

Thanks so much!

Not a problem. ^_^

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 Frequently asked questions and 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 [email protected] with your username.