Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: SomeRandomDude21 on April 27, 2021, 02:56:45 PM
-
I've been building a 3d platformer, and my character starts in the air, but I cant get them to detect when their not touching the floor, so they just stay in the air. Can anyone help me?
-
Hey,
If you use Unity's default physics system, it will do that for you. Just add a capsule collider and a rigidbody to your character and increase the gravity on the rigidbody. Add box colliders to the ground and that's all you need to have your character fall and land on the ground.
Good luck, and let me know if I misunderstood the question.
-
Hi.
You can also use raycasts to detect the floor