Hi, I'm trying to develop a 2D platformer and I wish I could implement the movement, but without using the character controller> getAxis, but I wish I could move my sprite through the 2D rigidbody. To prevent the game from lagging with the character controller.
In the ecosystem, I found for 3D, this action, "Rigidbody Translate Position Auto". This, when you work with 3D box collider it works perfectly, but if you have to work with a polygon collider, you cannot do it, there is an action in the playmaker or in the ecosystem, which performs the same functions as Rigidbody Translate Position Auto, but with elements that are purely 2D?
I tried the ones that are available with the 2D ridigbody, but they work in jerks, "impulses" I would say, because they are used to achieve a goal, instead I would like full control of the 2d sprite, just as happens with the intervention "Rigidbody Translate Position Auto ", but I wish I could do it with 2D elements. This is because, with the Translate position auto for 3D, the movements of the character are very fluid and that action is very simple to use.
I would also like to ask for a personal opinion, having little experience, for a movement along the X axis, is it better to use the addForce with the rigidbody? Because I tried, but the force is not constant, it becomes an impulse, so the movement to the right and left is unnatural, jerky, I created 2 states, in the first there are the getKeyDowns, in the second the addForce, for the right and left.
I thank you for your help and support.