Hey guys,
I am trying to work a concept out.
Basically, this can be used for opening chests or breaking things open or maybe something that needs to split into a lot of pieces:
dropbox.com/scl/fi/ul2860amrcshsxsup3uts/Spawned-Objects-coming-out-and-are-pushed-away-from-still-objects.c3p
Here is my problem though:
The objects are set to go into any direction and if they are overlapping another object, this is then run again until it is not overlapping.
I have been trying to work out a method to tell the object to move away from the object they are clashing with (or from any other item so it is not overlapping other items), but I cannot work out how to do it right and I cannot find the answer anywhere else.
Can I please get your help on this one?