Hi Guys ! I have this particula issue in my game, I have a ball, the ball have: spherical collider and rigid body, the ball move with a AddForce that follow the stick movement Ok? The issue is, when i lost i click"restart" the ball change him transform.position at a spawn point that i’ve created, everything work But… when i restart the level the ball is more heavier !!! At the first play i can rotate more fast, after the transform.position change the ball is more slow and havier !
These are the changes that i apply at the ball gameObject after the restart
- ballTransform.transform.localRotation = Quaternion.Euler(Vector3.zero);
- ballTransform.GetComponent().velocity = Vector3.zero;
- ballTransform.GetComponent().angularVelocity = Vector3.zero;
- ballTransform.SetActive (true);
- ballTransform.transform.position = spawnBall02.position;
what is the problem ? Is there a solution ? Thank you guys ![]()