摘要 |
A computer-implemented method of simulating a physical system includes accessing (20) a representation of the physical system, the representation defining a joint relationship between first and second rigid body objects, the joint relationship being specified via an instantiation of a class, the class instantiation being representative of a parameter of the joint relationship. The method further includes implementing (22), with a processor, a function of the parameter class instantiation, the function being operable to return a characteristic of an axis of the joint relationship, constraining (24), with the processor, the joint relationship based on the returned axis characteristic, and maintaining (26) the representation of the physical system in accordance with the constrained joint relationship. |