I am trying to make a sphere that I have moving forwards also bounce at the same time. Here is what I have tried.
Adding a physic material to the sphere and setting the material with a friction combine of minimum, setting the bounce combine to the maximum.
Setting the collision detection on the rigidbody of the sphere to continuous.
After trying all of this, it all resulted in when the sphere hits the other gameobject just sitting there and moving forwards without bouncing. Here is the code that I have for moving the sphere.
public float forceMulti = 50f;
private Rigidbody rb;
private void Awake()
rb = GetComponent<Rigidbody>();
// Start is called before the first frame update
// Update is called once per frame
rb.velocity = transform.forward * Time.deltaTime * forceMulti;
If there is a way to make the sphere bounce through code while having it move forwards that would be great and I would really appreciate the suggestions.