How to Get Rigid Body Name within the SDK?

NatNet, VRPN, TrackD, and Plugins
Post Reply
circassia
Posts: 24
Joined: Fri May 03, 2013 4:12 am

How to Get Rigid Body Name within the SDK?

Post 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
beckdo
Posts: 520
Joined: Tue Jan 02, 2007 2:02 pm

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

Post 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.
circassia
Posts: 24
Joined: Fri May 03, 2013 4:12 am

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

Post by circassia »

Allright, so i will then do the mapping of my objects in vc++ project through the id!
Post Reply