So I'm toying around with a 2.5d possible 3D platformer styled game. I just picked up Playmaker and I've ran though a bunch of tutorials over the last week or so and haven't found any that help with the type of controller I'm planning.
The Character Controller I'm playing with right now can walk, run (with shift pressed), jump and attack. I'd also like to implement a pick up object command and I'd like to implement a roll/dodge move but I've no idea how. I currently have something in and working for the pick up, however there are issues with it and I'd appreciate some help.
Controls are fairly straight forward
WASD, space to jump, shift + movement for sprint, Left Click for Attack, Right Click to pick up object in range.
http://www.subshape.com/wip4/wip4.htmlWhat i'd like the character to do:
1. The player presses the right click and it parents the box to the player, preferably to a hand bone and a "carry animation" will play. This animation will also blend when the player runs around so that the object is still looking like it's carried and the legs are moving as well.
2. When the object is in a carried state the player cannot attack.
3. When the box is picked up the carried object should not penetrate into the enemies, slopes/stairs, walls, and other boxes. Essentially, the box should still maintain it's collision, or at least look/act like it does without messing up the movement of the player.
4. The player can only carry one object at a time, and if 2 objects are practically the same distance it should pick the closer. (Possibly I could run a raycast and target the object that can be picked up).
So try playing the demo that I have so far. I'm still trying to decide how I'll do melee combat. I'm considering a sphere cast.
Any help would be great.
B