A non-transitory computer readable medium impressed with instructions for determining a friction response to a soft contact collision between at least one of a set of virtual objects defined according to virtual object definitions and a portion of a colliding hand that collides in a logical frame defined by a real time physics engine (RTPE) including a simulation of rigid bodies in a physical system that satisfies a human visual system's expectations for interactions with virtual objects in a virtual environment, using real motions of one or more hands in a three-dimensional (3D) sensory space, which instructions, when executed by one or more processors, perform:
- determining a first solution of interactions between virtual objects in a set of virtual objects simulated as rigid bodies and a representation of at least one hand, the first solution including a friction response to the soft contact collision between the at least one of the set of virtual objects and the portion of the colliding hand, the friction response being in a direction that is different than a direction of motion being undertaken by the portion of the colliding hand;
- determining a second solution of interactions between the virtual objects simulated as the rigid bodies absent any effects of the hand;
- and
- integrating the first solution with the second solution;
- wherein results of the second solution are prioritized over results of the first solution.