Question by
vitalik212 · Jul 14, 2016 at 07:31 AM ·
2drigidbody2daddforcemoveconstant
Constant speed in 2d game.
Hello, Community! I have a problem with my 2d game: I need the object to move with constant speed. If I move it with RigidBody function AddForce(); then its speed is increasing. How can I solve this problem?
Comment
Answer by MelvMay · Jul 14, 2016 at 07:52 AM
Set its velocity and therefore speed using Rigidbody2D.velocity.
Your answer
![](https://koobas.hobune.stream/wayback/20220612084806im_/https://answers.unity.com/themes/thub/images/avi.jpg)