Hello. Just installed Unity 5, and everything seems to be working with my project except one big thing, which is the movement. THe game is an old school point and click adventure game, so the movement is basically just a mouse click. This is the code to get my characters velocity:
GetComponent<Rigidbody2D>().velocity = positionDirection.normalized; //positionDirection is the target for movement
If I take off “Kinematic” in my Rigidbody2D. The character does go towards the target, so there is something that works… Is there something wrong with this code now? Any changes to the way this works?