Okay, I got collisions working, so no I just have to use addforce in a way that feels more like linear movement. Maybe setting a high force to add but then also setting a top speed?
Infinite acceleration with a top speed is usually the way to go to get linear speed when you don’t have direct access to changing the object’s position manually, in which case you could alternatively just take the direction you want to move it to (given by a vector), normalize it so that it has length 1 and then multiply it by the scalar that is your linear speed.
But afaik that would be considered bad form with Unity, so I think your solution is the best available, once you get it working.
2 Notes/ Hide
- gamedesignnovice liked this
- lessie2d reblogged this from gamedesignnovice and added:
Infinite acceleration with a top speed is usually the way to go to get linear speed when you don’t have direct access to...
- gamedesignnovice posted this