Page 1 of 1

How to Get Rigid Body Name within the SDK?

Posted: Mon May 13, 2013 4:32 am
by circassia
Hi,

i am creating two rigid-bodies in motive, i get the rigidbody position etc in my vc++ project, but how can i get the name?

Image

i want to get those names from the mocap in my project. As i mentioned i couldn't find any "name" like data structure within sFrameOfMocapData.

thank you in before.

Circassia

Re: How to Get Rigid Body Name within the SDK?

Posted: Mon May 13, 2013 2:38 pm
by beckdo
When defining the Rigid Body, you'll notice you can set both a 'Name' and an 'ID' for the rigid body. Currently only the ID is sent over the network to conserve bandwidth. You can set any ID value for a rigid body that you'd like through the UI and that integer will get passed to your through sFrameOfMocapData.

Re: How to Get Rigid Body Name within the SDK?

Posted: Wed May 15, 2013 3:32 am
by circassia
Allright, so i will then do the mapping of my objects in vc++ project through the id!