Load File from URDF and convert to Rigidbody (RobotSimulator)
Posted: Thu Apr 11, 2019 12:30 pm
Hi y'all
First, I wanna apologize for the (probably) stupid question. But I'm a beginner with the Bullet Engine.
What I want to do is the following: In my project I am using b3RobotSimulatorClientAPI.h to set up a world, visualize it and load some objects into it (A plane and the humanoid.urdf, located in the data folder of bullet). As seen in the RobotSimulator App.
Now I need to find a way to constrain movement along one axis for the humanoid character.
I googled around and the solution I stumbled upon the most is to use a Rigidbody and set the setLinearFactor property accordingly. But it seems like I can't create a RB by doing the file import. As in, there is no function or method or anything. Can someone tell me if what I want is even possible?
Thank you.
First, I wanna apologize for the (probably) stupid question. But I'm a beginner with the Bullet Engine.
What I want to do is the following: In my project I am using b3RobotSimulatorClientAPI.h to set up a world, visualize it and load some objects into it (A plane and the humanoid.urdf, located in the data folder of bullet). As seen in the RobotSimulator App.
Now I need to find a way to constrain movement along one axis for the humanoid character.
I googled around and the solution I stumbled upon the most is to use a Rigidbody and set the setLinearFactor property accordingly. But it seems like I can't create a RB by doing the file import. As in, there is no function or method or anything. Can someone tell me if what I want is even possible?
Thank you.