Home Creators Posts Import Register Favorites Logout
haven't archived this post yet. have a subscription? use the importer!

Content

This is episode 140 of the third-person shooter series based on Unreal Advanced Locomotion System. Today, we are going to implement a way to  limit the maximum movement speed of the character based on the weight of the inventory. Here, I will consider only the weight of weapons towards total weight. I will define weight threshold values for running and sprinting. For example, if the character is carrying 3 weapons including a heavy RPG, character will not be able to run or sprint, only walk. If the character is carrying 3 weapons without a heavy RPG, character can run, but can's sprint, if the character is carrying only 2 weapons, he can run or sprint without any limitation until stamin runs out.

project files

https://www.patreon.com/posts/63654325

Files

Previews only

Unreal Engine 5 - Inventory Weight and Movement Speed (ALS #140 )

Project Files: https://www.patreon.com/posts/75657052 . This is episode 140 of the third-person shooter series based on Unreal Advanced Locomotion System. Today, we are going to implement a way to limit the maximum movement speed of the character based on the weight of the inventory. Here, I will consider only the weight of weapons towards total weight. I will define weight threshold values for running and sprinting. For example, if the character is carrying 3 weapons including a heavy RPG, character will not be able to run or sprint, only walk. If the character is carrying 3 weapons without a heavy RPG, character can run, but can's sprint, if the character is carrying only 2 weapons, he can run or sprint without any limitation until stamin runs out. CodeLikeMe Third-Person shooter series: https://www.youtube.com/playlist?list=PLKLABJGyKV-CmWAXXeuUTer0iI0kSG1W4 ► 👇 𝐒𝐮𝐩𝐩𝐨𝐫𝐭 𝐓𝐡𝐞 𝐂𝐡𝐚𝐧𝐧𝐞𝐥 // 𝐁𝐞𝐜𝐨𝐦𝐞 𝐀 𝐏𝐚𝐭𝐫𝐨𝐧! https://www.patreon.com/codelikeme ►Patrons will have access to project files of all the stuff I do in the channel and other extra benefits Join this channel to get access to perks: https://www.youtube.com/channel/UClb6Jh9EBV7a_Nm52Ipll_Q/join Like my facebook page for more content : https://www.facebook.com/gamedevelopersclub/ Follow me on twitter : https://twitter.com/CodeLikeMe2 Follow me on reddit : https://www.reddit.com/user/codelikeme #CodeLikeMe #unrealengine #ue5 #indiegamedev

Comments

No comments found for this post.