![unity 3d platformer character controller unity 3d platformer character controller](https://i.pinimg.com/originals/55/83/37/5583371737a5cb1294909093d0d26d0f.jpg)
But it also makes the raycasting a bit more complex because you need to take into account the physics engine's influence on the player. It's very well explained, and will get you understanding the basic concepts.Ĭombining rigidbody movement and raycasting works well, and you get certain things 'for free' by using a rigidbody, such as no falling through uneven ground, the ability to use materials to make the player stay still on slopes, and pushing boxes. On Youtube, Sebastian Lague has a tutorial series for a raycasting controller with some standard features (e.g. Raycasting is quite complex and has many potential issues and edge cases, but it can be much easier to get precise movement. pushing boxes around), but it will be harder to tightly control some things. Rigidbody physics will make interaction with other objects easier (e.g. You can achieve what you need with either rigidbody physics or custom raycasting (or a combination of the two), but it really depends on what exactly you need. r/GameAudio - It may look good, but does it sound good? Im using a character controller because the movement is much more precise. Id rather not use rigidbodies for my character, they are too unpredictable. r/LevelDesign - Learn to make excellent levels and worlds. If you want momentum, you could handle the jump by using Add Force on a Rigidbody object. r/GameDev - Meet and communicate with other game developers. r/PixelArt - Admire, share, and observe beautiful pixel art. unit圓D on 8chan - Unity-focused image board Unity 2D forums Tutorials Filter Wiki List Be familiar with Reddit's Rules, Reddiquette, and Self-Promotion Guidelines.If the content is not related to 2D/2.5D development, it may belong in /r/Unit圓D or /r/GameDev. r/Unity2D is a subreddit for news, tutorials, feedback, resources, and conversations related to 2D or 2.5D game development using the Unity game engine.