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

Question about corner piece constraints in cube model #5

Open
sszxc opened this issue Mar 19, 2025 · 0 comments
Open

Question about corner piece constraints in cube model #5

sszxc opened this issue Mar 19, 2025 · 0 comments

Comments

@sszxc
Copy link

sszxc commented Mar 19, 2025

Thanks for this amazing cube model! I have a question about how the corner pieces are constrained.

I notice that corner pieces (like pX_pY) inherit from the cubelet class which provides a ball joint:

<default class="cubelet">
    <joint type="ball" armature="0.0001" damping="0.0005" frictionloss="0.001"/>
    <geom type="mesh" condim="1" mesh="cubelet" euler="0 0 90"/>
</default>

I think corner pieces are child bodies of the core. However, I'm still unclear about how are corner pieces physically constrained to maintain their position relative to adjacent pieces? What prevents corner pieces from falling off? Is the constraint achieved through the mesh geometry, joint properties, or some other mechanism?

Thanks in advance.

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

1 participant