How to get the Pivot Point position? [Motive Body 1.10]

Post Reply
Fuby1000
Posts: 10
Joined: Mon Oct 31, 2016 10:18 am

How to get the Pivot Point position? [Motive Body 1.10]

Post by Fuby1000 »

I'm using the MoCap system to stream data to Unity 3D and use it in an VR application.
In Unity I need to know the position of the pivot point I assigned in Motive. Just calculating the PP using the marker positions in Unity won't help, since I translated the PP's of my objects in Motive. Is there any way to get the PP data directly?
steven.andrews
NaturalPoint Employee
NaturalPoint Employee
Posts: 720
Joined: Mon Jan 19, 2015 11:52 am

Re: How to get the Pivot Point position? [Motive Body 1.10]

Post by steven.andrews »

Hello Fuby1000,

When you stream the rigid body data from Motive to Unity, the position and orientation received are for the pivot point of the rigid body. Whatever object you attach the rigid body data to, in Unity, will directly reflect the position and orientation of the rigid body's pivot point, even if it has been moved to something other than the default location.

Best,
Steven,
--
Steven Andrews
OptiTrack | Senior Customer Support Engineer
Fuby1000
Posts: 10
Joined: Mon Oct 31, 2016 10:18 am

Re: How to get the Pivot Point position? [Motive Body 1.10]

Post by Fuby1000 »

Okay thank you, I hoped it would be that easy.
Post Reply