While the CharacterController has its issues, it's a good place to start and lets you immediately start working on the actual interactions of the controller, as opposed to writing somewhat lower level code. The 5.6 Physics functions are pretty great overall and are very useful for writing custom character controllers, but are not absolutely necessary if you want to make a solid controller in Unity. Dividing the world like this makes it much easier to do ground detection and makes your controller more stable overall. All surfaces in the world have to be one or the other-you'll notice this is why Mario is able to stand on some fairly steep slopes in the game (such as the big ramps in Bowser in the Sky). Hey arcnor, the way Super Mario 64 handles this (but not the Mario 64 HD project) is that the world is strictly divided into walls and ground. I guess I should also ask if there is something on the asset store for this, but from what I've seen, there is a lot of cruft out there, so it might be difficult to find the right thing without a way to test it beforehand.Īnyway, sorry for the not-so-focused topic, and hopefully somebody can provide some insights at least. Should I go and create my own instead using those two new functions? I've also read that Unity 5.6 includes two new Physics functions that might help when creating a Character Controller (Physics.ComputePenetration and Physics.ClosestPoint). I tried the excellent-looking SuperCharacterController from Roystan Ross (of Super Mario 64 HD "remake" fame), but unfortunately it seems to have problems even on the sample scenes (falling through the scenery and getting stuck on edges). My question is: for non-realistic character movement (again, something like Mario 64) should I use the existing Character Controller? I've read that it's subpar and I might have problems in the long run. I don't want anything fancy, just being able to jump and run through the level made of meshes (with slopes), without worries of falling through stuff, or getting stuck anywhere. I want to create a small 3d platformer, Mario-64 style, but I'm not sure of what to use for the actual player movement.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |