Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | hopeless-programmer |
I need the player in a top-down game to go and carry a object, which is a RigidBody2D and throw it. When I use rigidbodyobject.global_position = player.global_position
the sprite of the body moves with the player but the actual rigid body stays in its original place. And when I apply impulse to the body the sprite resets to the original position and impulse is applied there. Can anyone please help me?
can you give a some code? The project-folder would be better
whiteshampoo | 2020-05-27 16:41