Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue on page /source/api/lab/omni.isaac.lab.assets.html #1407

Open
S-CHOI-S opened this issue Nov 11, 2024 · 1 comment
Open

Issue on page /source/api/lab/omni.isaac.lab.assets.html #1407

S-CHOI-S opened this issue Nov 11, 2024 · 1 comment

Comments

@S-CHOI-S
Copy link

How can I set the gravity vector for a deformable object? I want to apply gravity in the -Z direction, and I'm modifying the code from the deformable object tutorial to achieve this, as I'm working on simulating balloons in the environment.

And here is the permalink.
(https://isaac-sim.github.io/IsaacLab/main/source/api/lab/omni.isaac.lab.assets.html#deformable-object)

@StrainFlow
Copy link
Collaborator

StrainFlow commented Nov 12, 2024

Can you give a little more info on what you're trying to do? The gravity vector is applied in the -Z direction by default so you shouldn't need to do anything explicit here. I must be missing part of what you're trying to do.

Edit: I read through your post and noticed the balloon detail. If those are the only rigid bodies in your simulation, you should be able to just set the gravity in the physics scene to a negative value. Is that the case or do you have some normal rigid bodies and some bouyant rigid bodies?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants