Box Collider does't drag RigidBody

Hey there,

I have a player gameobject with RigidBody2D and CircleCollider2D attached to it, the gameobject falls down onto the floor, which is another gameobject with just a BoxCollider attached. The floor is moved like so:

void Update () {
    transform.position += new Vector3 (-2 * Time.deltaTime, 0);
}

The problem is the player gameobject, that isn’t affected by the floor moving beneath it. I want the player to be dragged with the moving floor. Both gameobject have Materials attached to them with Friction set to 1.

Thanks for your Help
gabs

I guess this is a real beginner problem, so isn’t there anyone that can help me?

Morning Gabz0r,

just read another post in the Answers forum, might be worth a read to give a couple of ideas.

1 Like

Thanks alot, that solved the problem!