1. A method of executing a physics simulation in a computational platform, the method comprising: executing a cloth simulation call defined in an application programming interface (API) implemented in the computational platform to invoke a software routine that is configured to create a cloth object in a cloth simulation, wherein the cloth object has simulated behavior that is characterized in relation to one or more interaction modes, wherein a first interaction mode of the one or more interaction modes is used to enable or disable two way interactions between the cloth object and one or more simulated attached rigid bodies, wherein the first interaction mode is associated with a function that attaches the cloth object to all simulated attached rigid bodies of the one or more simulated attached rigid bodies with which the cloth object is currently colliding; and updating state information associated with the physics simulation in response to the invoked software routine.