PashavanBijlert / MuSkeMo

Build and visualize musculoskeletal models in Blender
0 stars 0 forks source link

Should locations and rotations in local frames be exposed to the user? #18

Closed PashavanBijlert closed 2 months ago

PashavanBijlert commented 2 months ago

When assigning frames to bodies, it will be necessary to compute location and rotations with respect to this frame, for bodies, joints, contacts, and potentially markers. This requires updating all these states every time a frame is assigned and or removed. Should these be exposed to the user, upon assigning of the frame? Or should they only be computed during export (like muscle points)?

PashavanBijlert commented 2 months ago

They are exposed to the user, and computed when a frame is assigned to a body, or when a body with a local frame is assigned as the parent (or child) of a joint or contact.