0 votes

I want to freeze position of a rigidbody object, but i don't know how

asked Jun 22, 2019 in Engine by Doktan (12 points)

1 Answer

+1 vote

Set it to static mode:

mode = RigidBody2D.MODE_STATIC

See RigidBody2D.mode for more information.

answered Jun 22, 2019 by kidscancode (17,776 points)

Can this object intecart with another body in static mode?

Did you read the linked documentation? "The body behaves like a StaticBody2D." So yes, other objects will still collide with it.

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.