Question by
softwaretestui · Jul 08, 2020 at 09:09 AM ·
ball
How to reduce ball speed.
if (!started) {
if (Input.GetMouseButtonDown(0))
{
rb.velocity = new Vector3(speed, 0, 0);
started = true;
GameManager.instance.StartGame();
}
}
Debug.DrawRay(transform.position, Vector3.down, Color.red);
Comment
Answer by sprogobalionas · Jan 15, 2021 at 02:50 PM
try
rb.velocity = (rb.velocity - rb.velocity/5)
(pseudocode)
Your answer
Follow this Question
Related Questions
How to make a ball bounce always to the same height? 3 Answers
Ball passes through the floor on movement 1 Answer
How do you put an image on the screen and keep it there? 0 Answers
Cricket Ball Physics? 1 Answer
Ball control like kula world 2 Answers