How to slow down a ball in a tennis game ?
Hi, I have the GameObject Ball that uses physics (gravity).
I do apply some V3 forces to move it
ball.GetComponent<Rigidbody>().velocity = ballScript.dir * ballScript.force + vectorHeight;
Movement is quite ok. but it is just too quick for the player movement.
Is there a way to slow the ball down ?
Maths calculations does not seem ok: to slow it down, I need to increase the height and then ball's movement is not too realistic.
$$anonymous$$aybe, u can try to divide it all by like 0.75f. IT might Slow it down
Imagine a real world tennis ball. you cannot modify its speed without modifying its trajectory. The idea I have is to slow it down my modifying the update deltaTime just for the ball
link to stack This might help u, dont have unity rn, so u got to test yourself
No: this is for slow down (decelerate) a rigid body. $$anonymous$$y goal is to $$anonymous$$EEP the SA$$anonymous$$E motion, just to be 50% slow. Just imagine a real tennis ball: it has to be slower but keep the same trajectory : in real life, it is impossible without changing the gravity. I hope this is possible in Unity (like to plau with its frame rate or delta time)