marker asigned to a rigid body

Post Reply
jmrb2002
Posts: 6
Joined: Mon Sep 08, 2008 7:06 am

marker asigned to a rigid body

Post by jmrb2002 »

another question, with the rigid body sdk, it is possible to know the number of markers with RB_FrameMarkerCount and the position of them by RB_FrameMarker_X [YZ] but...

�how can I know if a marker is owned by a rigid body or is a free one?

i haven't found a function like :

RigidBodyindex=RB_FrameMarkerRigidBodyOwner(int Markerindex)
beckdo
Posts: 520
Joined: Tue Jan 02, 2007 2:02 pm

Re: marker asigned to a rigid body

Post by beckdo »

Hi Jose,

You're not able to get this information easily in the current API. We're getting very close to our next version of the software and I'll make sure that there is support for getting this information.
jmrb2002
Posts: 6
Joined: Mon Sep 08, 2008 7:06 am

Re: marker asigned to a rigid body

Post by jmrb2002 »

thanks you!
kjjohnsen
Posts: 12
Joined: Mon Oct 01, 2007 12:39 pm

Re: marker asigned to a rigid body

Post by kjjohnsen »

I would very much also like this information for convenience and efficiency, but determining this information is not too hard. Just apply the rotation then translation of the rigid body to the marker points. Then find the closest points to each marker. They won't line up exactly, but it's impossible to have two markers very close together anyway, so you should rarely have an error.
Post Reply