- Home /
Rigidbody Character
I want to make a character with a rigidbody and not unity's character controller asset so that I can apply forces to it, but I'm having some trouble with it. Last time I made a character, I edited the velocity value, but that completely changed the velocity and didn't allow me to apply any external forces to it. This time, however, I want to use Addforce so that I can apply external forces to it, but when the key is held, the object speeds up and doesn't go at a constant speed like I want. I think that clamping might help, but all it would do is clamp the overall velocity of the object, not the addforce velocity. If anyone could help, that would be great.
Answer by Pangamini · Dec 13, 2021 at 10:24 AM
I think it's perfectly legal to directly modify RB's velocity instead of applying forces. What I am doing is simply using Vector2.MoveTowards for velocity (for a 2D top-down character)