-
Notifications
You must be signed in to change notification settings - Fork 241
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
Problem with Setting Friction Parameters for an Actor #800
Comments
This sounds like a bug. Could you help print the object id
|
This is what gets printed:
|
Ah okay. I think the solution here might just be that you need to create each cube with a separate sapien.physx.PhysicalMaterial object attached. Let me get back to you on what's the easiest way to do that. Documentation needs to be updated on this as well, seems some properties cannot be easily changed like that. |
https://maniskill.readthedocs.io/en/latest/user_guide/tutorials/domain_randomization.html#actor-link-physical-and-visual-randomizations has new updated guide on how to do randomizations in maniskill. Key part is you need to basically build each cube separately and then merge them together into one view/object. Building separately enables the creation of separate materials (which normally is shared for memory optimization purposes and to stay under certain physx limits like max physx materials) |
Hi all. Following the tutorial you all provided, I'm trying to do some simple physics domain randomizations of the cube in the PickCube task like so:
However when I do this, it seems that setting the friction values for one object in self.cube._objs sets the same values for all the actor objects. Is this a bug or am I doing something wrong? Thanks!
The text was updated successfully, but these errors were encountered: