Quantcast
Channel: Questions in topic: "tree"
Viewing all articles
Browse latest Browse all 513

How to make an equipped axe charge up to a swing when moving camera?

$
0
0
Hello. I'm currently making a survival type game, and I'm in the process of implementing a tree cutting feature. Everything has been working smoothly so far, and it's nearly done. I do have a question though. When the player is holding the axe, and wants to cut down a tree, I want the player to have to look to the left, and when he does, the axe should automatically charge up to a swing depending on how much the player is looking to the left. When the player has looked to the left enough (or when the axe has been fully charged up), I want the player to quickly look to the right, where the axe is then supposed to hit the tree. I know this question might be a little complicated, but I did my best to explain it. Thanks in advance.

Viewing all articles
Browse latest Browse all 513

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>