can't prone from crouching and conversly
Hello everyone, I'm trying to create a system where keeping pressed ctrl or tapping it gives different outputs, also related to the position (standing, crouching, prone).
Standing - crouching, tap ctrl; no problem. Standing - prone, keep ctrl; no problem. crouch to prone, keep ctrl; doesn't work. prone to crouch, tap ctrl; doesn't work.
The problem in both cases is that it doesn't change camera position, it looks like it changes camera height but doesn't update it until the next change in position.
Hope you can help me, thanks a lot!!
asked Sep 28 '16 at 04:22 PM in Blueprint Scripting
I don't know how to close the topic, but I solved the problem by myself. Anyway there was an error in the description too. Sorry guys
answered Oct 08 '16 at 09:45 AM
I got a better fix guys. Check my way of approaching it (works for FPS without a Mesh or animation): This is done by overriding the traditional Crouch route through Character movement. The collision capsules for the character is adjusted through changing its height via Set Capsule Half Height node affecting the Capsule component and shrinking its size. Moreover, we are using 2 Boolean variables to decide player’s position (IsProne & IsCrouching) along with the Character Height float which changes with player position (this can be used in the level blueprint). Lastly, we are adjusting the Max Walk Speed for each position.
answered Feb 21 '18 at 02:09 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here