jimbob15515 Posted January 23, 2014 Share Posted January 23, 2014 I see that there are the beginnings of a crouch function commented out in the FPSPlayer.lua file, and that the official stance is that crouching is 'not supported' yet in the Indie edition, but can anyone give me info on how I might script some kind of crouching functionality into the FPSplayer script? I'd really appreciate it. Quote Link to comment Share on other sites More sharing options...
YouGroove Posted January 23, 2014 Share Posted January 23, 2014 When crouch key pressed 1) Change Height of character controller by code to the new lower height 2) Move camera by code at some speed until camera is at the new lower height And you are in crouched position. Quote Stop toying and make games Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.