Skip to content
Snippets Groups Projects
Commit c02c42f9 authored by Harald Scheirich's avatar Harald Scheirich
Browse files

Add getForce and getTorque to rigidobjectcontroller

parent d0050c3c
No related branches found
No related tags found
No related merge requests found
......@@ -105,6 +105,16 @@ public:
int getSmoothingKernelSize() const { return m_smoothingKernelSize; }
void setSmoothingKernelSize(const int kernelSize) { m_smoothingKernelSize = kernelSize; }
///
/// \brief Return the currently applied force
///
const Vec3d& getForce() const { return fS; }
///
/// \brief Return the currently applied torque
///
const Vec3d& getTorque() const { return tS; }
public:
///
/// \brief Update controlled scene object using latest tracking information
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment