Question by
maulikhack · Oct 12, 2018 at 05:54 PM ·
2dphysicsbackgroundbounce
create a bouncy surface using c# unity2D
i want to bounce a ball on surface if the hit velocity is 1f the bounce back should be 10f (with reflection angle and all same as physics bouncy material's bounce just it should ignore the strike speed)
if (collision.tag == "bounce"){
rb2d.AddForce(new Vector2(rb2d.velocity.x, 10f));
}
Comment
Your answer
Follow this Question
Related Questions
Inverted parallax 0 Answers
Background in 2D game: sprite or image? 0 Answers
How do I get a ball to bounce inside of a circle? 1 Answer
Unity 2D Platform pixel perfect physics don't work? 0 Answers
(3D Mode) 2D Friction 0 Answers