- Home /
Question by
niceDev · Jan 27, 2018 at 10:28 PM ·
2drotationrigidbody2d2d-physicsfriction
How to rotate rigidbody2d's sprite when colliding?,How to rotate sprite of rigidbody2d, but without friction?
Hi. I am trying to create Ping-Pong game and I have ball(rigidbody2d) that should Rotate his sprite when collide with other objects. But I'm not want to set Friction, cuz ball is missing his velocity. My ball object is moving like that
ball.velocity = new Vector2(4f, 4f);
Comment