Mouse force drag: graphics object metadata

Issue #34 new
Shameek Ganguly created an issue

While performing collision detection on the robot, I found that the chai graphics object metadata doesn't contain any robot information. As a result, when collision detection returns me the object being detected, the only way to obtain the robot link information is to iterate over all robots.

Files: Ray tracing is performed in: src/scl/graphics/chai/ChaiGlutHandlers.cpp

Graphics objects are created and assigned in: src/scl/graphics/chai/CChaiGraphics.cpp

External forces are applied in: src/scl/dynamics/tao/CTaoDynamics.cpp

Comments (5)

  1. brian soe

    The SGraphicsChaiRigidBody pointer can be saved to the void pointer m_userData, in the chai object. This is implemented in the new glut interface, which will be merged in the future.

  2. Log in to comment