Hi guys:
As the title, after toss the basketball out, it looks very soft and light. So how can I make the basketball looks real.
The mass of the ball is 15. And here is the code for tossing the ball:
Vector3 force = Vector3.zero;
force.z = delta.y;
force.x = delta.x;
force = force.normalized * (power + force.magnitude * addBasePower);
force = Quaternion.AngleAxis(-shootAngle, Vector3.right) * force;
rigidbody.AddForce(force, ForceMode.Acceleration);
delta is a Vector2 parameter, it indicates the iphoneinput. And shootAngle now is 65, power is 500, addBasePower is 10.