Page 1 of 1

marker asigned to a rigid body

Posted: Thu Oct 09, 2008 12:24 pm
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)

Re: marker asigned to a rigid body

Posted: Fri Oct 10, 2008 11:17 am
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.

Re: marker asigned to a rigid body

Posted: Sun Oct 12, 2008 7:07 am
by jmrb2002
thanks you!

Re: marker asigned to a rigid body

Posted: Fri Dec 19, 2008 11:58 am
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.