I want to have “slippery” platforms which im thinking of achieving with surface effectors. Unfortunately in the player script we are directly changing the velocity so it doesnt work. Ive tried adding velocity instead of setting it like
if (rb.velocity.x < speedFactor){
rb.velocity += new Vector2(moveInput*speedFactor,0)
}
but this doesnt feel as responsive because the character doesnt immediately stop when we stop pressing the key. Furthermore since im capping the velocity at speedFactor only, the velocity of the surface effector doesnt add to it anyway. What should i do?