leggedrobotics / raisimLib

RAISIM, A PHYSICS ENGINE FOR ROBOTICS AND AI RESEARCH
http://www.raisim.com
327 stars 50 forks source link

can not add a cone #19

Closed yonchien closed 5 years ago

yonchien commented 5 years ago

I just want to add cone . First , I define auto cone =world.addCone(0.1,0.1,10), cone->setPosition(1,2,0); Then , vis->createGraphicalObject(cone,"cone","default"); but it error " no matching function for call to ‘raisim::OgreVis::createGraphicalObject(raisim::Cone*&, const char [5], const char [8])"

and I can't found this function ,how can i add a cone or object like triangle

jhwangbo commented 5 years ago

cone collision body is not supported anymore, unfortunately. I'll delete the API in the next release.

The only way to add a collision body that's not a standard shape is by mesh.

yonchien commented 5 years ago

what are your standard shape included?

jhwangbo commented 5 years ago

anything you can add by "world.add ..."