Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Physics ngtPhysicHingeConstraint #83

Answered by IRobot1
IRobot1 asked this question in Q&A
Discussion options

You must be logged in to vote

No problem. I understand. I go though periods of low motivation too. Take all the time you need.

Good news! I was able to figure it out. Once I understand what the container was being used for, the solution was much simpler.

        <ng-container ngtPhysicHingeConstraint [options]="options">
          <!--static-->
          <ngt-mesh ngtPhysicBox [getPhysicProps]="getStaticProps"
                    [position]="[0, size, 0]" [scale]="scale" [castShadow]="true">
            <ngt-box-geometry></ngt-box-geometry>
            <ngt-mesh-standard-material></ngt-mesh-standard-material>
          </ngt-mesh>

          <!--hinge-->
          <ngt-mesh ngtPhysicBox [getPhysicProps]="getHingeProps"…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by IRobot1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants