- Home /
Question by
Antonabooo · Mar 20, 2017 at 05:03 PM ·
layermask3dplatformtutorial
IsTouchingLayers
I'm trying to create a 3D endless runner/ sidescroller platform game. I'm trying to detect when the player is touching the ground and every time that is touching it i can click and jump as many times without any problem. But at the moment I facing the problem that is jumping to high everytime that i input the key code. I try to fix this with layer mask but the isTouching Layer is only for physics2D. Any suggetion of what to do???? This is the code that I currently have
123.png
(34.6 kB)
Comment
Your answer
Follow this Question
Related Questions
Character Change in Platformer 3D 0 Answers
Why the Unity 3D Tutorials don't work with Unity 3? 2 Answers
How do I use layermasks? 9 Answers
Control "Layers" dropdown from UnityEditor script 1 Answer
Raycasting, LineRenderer & Layermasks 0 Answers