Hey guys,
I have been working on a feature for my Platform-style game - the ability for the games character to drop items. Since Platform games seem rather prevalent in the C2 Community, a solution may be beneficial to everyone.
What I am trying to accomplish using the Physics behavior is to have the dropped items fall realistically onto other dropped items that are already on the ground.
For example, if I drop a Sword on top of an Axe that is laying flat on the platform, then the dropped Sword should not stack on top of the resting Axe, but instead overlap it - while realistically disturbing the resting Axes position subtly as well as the Swords position on contact.
By "realistically" I just mean something that looks natural.. for instance a random adjustment to the objects angle on contact as well as possibly a subtle force put on the object in a certain direction.
I have been toying around with the different Physics features for sometime now and I just can't seem to get something that looks good. I had done something that sorta worked but became less and less realistic as more objects were being dropped.
Note: Gravity is disabled in my game, and instead I apply a downward force on all objects being dropped. This is because my game isn't really a traditional Platformer (it looks like a Platform game but the character is able to move up and down as well). Additionally, I intend to make the Sword object part of a Family.
Help is always appreciated. Thanks everyone for reading.