classes/class_rigidbody2d #43
Replies: 2 comments 2 replies
-
Careful with apply_force - it expects neither local coordinates nor global coordinates. it expects the offset in global coordinates, e.g. the global coordinates minus the rigidbody's global_position. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
classes/class_rigidbody2d
Inherits: PhysicsBody2D< CollisionObject2D< Node2D< CanvasItem< Node< Object Inherited By: PhysicalBone2D A 2D physics body that is moved by a physics simulation. Description: RigidBody2D implement...
https://docs.godotengine.org/en/stable/classes/class_rigidbody2d.html
Beta Was this translation helpful? Give feedback.
All reactions