- Home /
Too subjective and argumentative
best solution for topdown rpg
Hi i am trying to create a small demo for club at school and am wanting to create a top down rpg to show them something similar to what endless online does and other older 16bit rpg games so that if i press w i go up and press a go left and so on what would be the best way to do this i want it to be as smooth as possible so i dont want to use just moving the transforms as i need collisions but if i use a rididbody their is no need because i wont have proper physics so all i can think of is a character controller but how can this be used to create the movement i am looking for?
That's confusing. Do you want collision or not?
And yes, if you move the CharacterController with the return values of Input.GetAxisRaw, it will behave as I think you want it to (move and stop, without de-/acceleration)
yeah i want collision i want to be able to walk up down left and right adn if i press say a and w i got diagonal sort of thing
Ever heard of google? You should look it up, this forum is for specific questions not so open ones. Noone here going to write all the code for you. Also search the Unity API, it has good information. You can move the rigid body, if this is just a small project, because character controller's are for more fine tuning.
i already googled it im not asking for scripts im asking for opinions on what one would be the best
There's no best, there's a solution for every situation.
You could use a camera looking down. Use a CharacterController and Simple$$anonymous$$ove it on x and z axis with Horizontal and Vertical from the Input $$anonymous$$anager. Use Input.GetAxisRaw to only get the values -1, 0 and 1.