Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Move and rotate rigid body using 6DOF marker location from file

Discussion in 'Getting Started' started by jallex, Feb 11, 2020.

  1. jallex

    jallex

    Joined:
    Aug 26, 2017
    Posts:
    1
    Hello! I am dealing with motion capture data (CSV files with 6DOF information about the 3D locations and rotations of markers over time) and I want to use this marker data to manipulate rigid bodies and skeletons.

    For example, I have a ring that has 5 markers on it. I have the 6DOF of each marker over many frames, and I have a mesh of a ring of the same size. How can I use this information to manipulate the rigid body's position? I've tried using joints and rigid bodies from Unity's physics engine but haven't gotten anything to work properly yet. My main issue has been getting it to rotate properly..

    Thank you in advance!