leggedrobotics / raisimLib

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

How to add Mesh to World not from file but from raisim::Mesh #35

Closed geotyper closed 4 years ago

geotyper commented 4 years ago

In Class World only one method to add mesh to world: Mesh *addMesh(const std::string &fileName, double mass, const Mat<3, 3> &inertia, const Vec<3> &COM, double scale = 1, const std::string &material = "", CollisionGroup collisionGroup = 1, CollisionGroup collisionMask = CollisionGroup(-1)); Is it possible to add Mesh to World direct from class Mesh

And more question: can you plan to open source of engine?

jhwangbo commented 4 years ago

I just pushed the method.

Sorry, I don't have a plan to open-source the code :(