Quantcast
Channel: Questions in topic: "footsteps"
Viewing all articles
Browse latest Browse all 164

Moving a character's legs and feet using one key to initiate lifting of a foot, then an analog stick / directional keys to move the foot to a target.

$
0
0
Hi everyone, I was interested in making a certain control style described below, and wanted to talk with you folks about ways to implement it. The basic background of the game is you're a big monster that has really laborious controls to move since the character is so massive (to create humor). The basic concept is as follows: 1. The character is in a standing position. 2. The character holds a shoulder button (if a controller) and the foot lifts up. If the Right shoulder is held, the right foot raises. If the Left shoulder is held, the left foot raises. **Optional** - a little target reticule appears on the ground beneath the foot where it would land if the shoulder button is released. 3. The player moves the analog stick or WASD / IJKL to move the foot that's currently raised. 4. Once the player has placed it where they want to stomp / step down, they release the shoulder button. 5. Upon releasing the shoulder button, the foot returns to the ground. **Note: ** upon hitting the ground, the body will sort of bounce to where the foot landed to balance out. Or, if applicable, will always remain in the center of the two feet. Not sure which is better yet. Here's a sketch representation of what I mean: ![Control Concept][1] I think a way to get this done is incorporating a portion of [this unity answer dealing with moving an object in an arc around another with the analog stick][2] and maybe having a similar joint structure to [this unity answer about stretchy legs][3]. I've never approached a movement system like this so I really have no idea what a good way to go about it is. Worst case scenario, I'll fiddle with a few ideas. What do y'all think? [1]: /storage/temp/20392-s__e698.jpg [2]: http://answers.unity3d.com/questions/428548/trying-to-move-an-object-in-an-arc-around-the-play.html [3]: http://answers.unity3d.com/questions/279626/stretchy-legs-and-collision.html

Viewing all articles
Browse latest Browse all 164

Trending Articles



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