Hi
I know this is going to be "simple" to do but I am trying to apply the effect that when object A drops on top of object B , it pushes object B down and for a period or amount that has been applied, stays with it and then will be destroyed.
This is difficult to explain so I hope I have made some sense of this
Object B is getting squashed and destroyed?
One way to do it would be to give Object B an instance variable: HP = 100
Object A [is on top of Obj B.] | Object B HP - 1
^ Many ways to do this.
If Object B HP <= 0 | Destroy Object B
You can also set Object B.Height to: Current_HP*ObjectB.Height / Max_HP
That way it will appear like Object B is getting crushed.