Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

I am indeed using set velocity instead of add force, because add force continues to accelerate, I know there can be a velocity cap on it but I've had major problems with it before, especially with the vertical component when using AddForce. I create a new velocity vector using the y component of the current one, so it's not like I'm overwriting gravity. And the physics materials have no friction (using drag purely for horizontal slowdown), so colliding with a vertical surface shouldn't slow the vertical component of the velocity down, and if it does I'd consider that personally to be a physics bug. I vastly prefer manually modifying the velocity because it gives far more control over the movement. If you wish to discuss more, send me a message on Discord, DreadKyller#6332