Skip to content

[Question] How to set a constant velocity for a RigidObject? #1412

Answered by JPBG-USP
JPBG-USP asked this question in Q&A
Discussion options

You must be logged in to vote

Feedback and Cube Configuration
Here is the configuration that worked:

cube = RigidObjectCfg(
    prim_path="{ENV_REGEX_NS}/Cube",
    spawn=sim_utils.CuboidCfg(
        size=(0.5, 0.5, CUBE_HEIGHT),
        rigid_props=sim_utils.RigidBodyPropertiesCfg(),
        mass_props=sim_utils.MassPropertiesCfg(mass=70.0),
        collision_props=sim_utils.CollisionPropertiesCfg(collision_enabled=True),
        visual_material=sim_utils.PreviewSurfaceCfg(
            diffuse_color=(0.21, 0.5, 0.73),
            metallic=0.2
        ),
        physics_material=sim_utils.RigidBodyMaterialCfg(
            static_friction=0.001,
            dynamic_friction=0.001,
            improve_patch_friction=False

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@xiasun
Comment options

Answer selected by JPBG-USP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants