摘要 |
A method for simulating a graphical object. The method comprises monitoring approximate distance between a first graphical object and a second graphical object, the first graphical object having at least a first particle and the second graphical object having at least a second particle; detecting a collision (P220) between the first particle and the second particle; computing (P230) a first set of forces associated with the first and second particles due to the collision, wherein the first set of forces are computed within a first context in which X particle attributes associated with the first and second particles are considered; computing (P240) a second set of forces associated with the first and second particles due to the collision, wherein the second set of forces are computed within a second context in which Y particle attributes associated with the first and second particles are considered, wherein X<Y. |