# IRpPhysics Interface Reference

Inherits IRsObject.

List of all members.

## Public Member Functions
HRESULT | RegisterForPhysEvents ([in] IRsPhysSimEvents *pPhysRegObj)
HRESULT | UnRegisterForPhysEvents ([in] IRsPhysSimEvents *pPhysRegObj)
HRESULT | CreateCollisionFnSet ([out, retval] IRfCollisionSet **ppFn)
HRESULT | CreatePhysicsFnSet ([out, retval] IRfPhysHelper **ppFn)
HRESULT | CreateIkSolver ([out, retval] IRfIkSolver2 **ppFn)

## Detailed Description

Interface for Physics.dll package.

Physics.dll contains nodes, commands and functions related to physics simulation.

## Member Function Documentation

HRESULT IRpPhysics::RegisterForPhysEvents | ( | [in] IRsPhysSimEvents * | pPhysRegObj | ) |

Register for receiving of phys events.

Parameters:

  | pPhysRegObj | [in] Registered object.

HRESULT IRpPhysics::UnRegisterForPhysEvents | ( | [in] IRsPhysSimEvents * | pPhysRegObj | ) |

Unregister for receiving of phys events.

Parameters:

  | pPhysRegObj | [in] Registered object.

HRESULT IRpPhysics::CreateCollisionFnSet | ( | [out, retval] IRfCollisionSet ** | ppFn | ) |

Return collison function set containing functions for collision detection.

Returns:
  ppFn [out,retval] Returned collision function set.

HRESULT IRpPhysics::CreatePhysicsFnSet | ( | [out, retval] IRfPhysHelper ** | ppFn | ) |

Return function set containing useful functions for management of phys attributes.

Returns:
  ppFn [out,retval] Returned physics helper.

HRESULT IRpPhysics::CreateIkSolver | ( | [out, retval] IRfIkSolver2 ** | ppFn | ) |

Return IK2 solver function set.

Returns:
  ppFn [out,retval] Returned IK2 solver.