Just posting my progress so far on the Push mechanic I have been working on for my game. I am using the vTriggerGenericAction, as well as a couple of custom scripts to control animation events and triggers. I have the basic animation physics and movement, just need to fine tune the sensitivities and collisions a bit more. But I thought I'd show everybody what I was up to:
Nice..I also made a push mechanic also using vTriggerGeneric before.,
That looks great! It was the last mechanic I needed for my game. I wanted to do some puzzle portions with bricks, and it looked kinda silly with the figure just pushing the blocks by running into them. It did teach me a lot about using the physics in Unity lol.
-Added dust particle effects while block is being pushed. When player stops, effect stops as well.
-Added impact sound, and camera shake when the block hits the ground, or is turned over, adding to the illusion of weight of the block. Still adjusting the angular velocity magnitudes necessary so as not to fire the effects at unwanted times.
-Added a stamina reduction effect. When the player starts pushing, the stamina recovery is set to zero, and deducts stamina until player stops pushing, or stamina reaches zero and player will also stop pushing, automatically.