From the description it sounds like the container has a physics body. All the objects inside are trying to resolve the collision by moving outside.
Topic:
Programming Languages
SubTopic:
Swift
Tags: