- Home /
Make character either crouch or go prone depending on how long a button is held?
I'm creating an FPS and I'm trying to make a script that allows a player to crouch when they crouch/stand up when they press control, but also be able to go prone if they hold the same button for a longer period of time. Is there any way to do that? Here's the part of my code that checks for it so far, right now I only have it switching between crouching and standing, not going prone. http://pastebin.com/Nk6uaH9X (this is within fixedupdate)
Comment
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
Aiming down a gun 4 Answers
FPS custom weapons & characters? 2 Answers
Whow do i change my character height 1 Answer