Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Moving a 3D Model

Moving a 3D Model

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 1 Posters 643 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Leon_2001
    wrote on last edited by
    #1

    Hello,

    I have a question. I want to create a robot in qt3d, which can walk. I have tried and seen different approaches ... for example making a blender object and performing an animation on it (also created in blender). But actually I want to have some kind of inverse kinematics -> So I want to say the end effector should move up by ... cm. But I have seen no way to make this. Is there any way to have inverse kinematic or control at least the angle of the joints?

    Thanks!

    1 Reply Last reply
    0
    • L Offline
      L Offline
      Leon_2001
      wrote on last edited by
      #2

      I found out that the armature component and the skeleton/Joint class may be what I have searched for. Thorugh the skeleton I can change the rotation of the joints etc.
      Unfortunately, I don't know how I can access it ... because it first has to be loaded and I have no idea when and how I can change it (thought about a MouseArea, but don't know how to do it ... ObjectPicker didn't work).

      Armature {
                id: testArmature
                  skeleton: SkeletonLoader {
                      id: skeleton
                      source: root.source
                      onStatusChanged: rootJoint.rotationX = 20
                      onJointCountChanged: rootJoint.rotationY = -10
                  }
              },
      

      Changing the rotation of the rootJoint through the onStatusChanged signal handler didn't work either. Gives me the error "TypeError: Type error".

      I would appreciate any help! I hope I am on the right way.

      1 Reply Last reply
      0
      • L Offline
        L Offline
        Leon_2001
        wrote on last edited by
        #3

        Does anyone know a solution?

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved