Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Hey dani I have a question for you I was making this game for my project I am not able to solve an issue when we apply a force to the ball how did you cancelled the previously applied force to apply a new force I am really stuck on this Kindly please help me out

(1 edit) (+1)

hi, i'm not dani but i hope i helped you

you have to set the velocity to 0, 0, 0, like this

rigidbodyName.velocity = new Vector3(0, 0,0 );

then apply the new velocity or force to you game object

cheers