Mouse force drag: graphics object metadata
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)
-
repo owner -
repo owner -
assigned issue to
Please follow up and send me an updated fix.
Thanks.
-
assigned issue to
-
repo owner Still waiting for that updated fix! Thx!
-
repo owner - marked as major
- marked as enhancement
-
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.
- Log in to comment
Please add links to the code pointers for this.