Patent attributes
An embodiment of the invention creates contact deformations in objects by combining two deformations. A collider contacting an object defines a primary deformation that modifies at least a portion of the object in contact with the collider. A secondary deformation based at least in part on user-provided parameters is added in the vicinity of the primary deformation to deform nearby portions of the objects that are not in contact with the collider, providing an aesthetic contact effect. A secondary deformation specification defines the general shape of the secondary deformation. The secondary deformation specification is associated with a location based on the location of the primary deformation. In an embodiment, the modification of the object due to the secondary deformation specification is modulated by attributes of the collision points, the primary deformation, user-specified weightings, and/or weight maps.