Hello,
I am using the AnyMoCap FullBody_GRFPrediction model and I want to add external forces applied to both hands. I created an ExternalForce.any file inside the Setup folder and defined two AnyForce3D objects referencing the glove segments.
I added the path in the main file as follows:
anyscript
#path MOCAP_EXTERNAL_FORCE "Setup/ExternalForce.any"
My main file ends like this:
anyscript
// Include the AnyMoCap Framework
#include "<ANYMOCAP_MODEL>"
Inside ExternalForce.any I have:
anyscript
AnyFolder ExternalForces = {
AnyForce3D RightHandWeight = {
F = 9.81*{0.0, 0.0, -10};
AnyRefFrame &RightHand = Main.HumanModel.BodyModel.Right.ShoulderArm.Seg.Glove;
};
AnyForce3D LeftHandWeight = {
F = 9.81*{0.0, 0.0, -10};
AnyRefFrame &LeftHand = Main.HumanModel.BodyModel.Left.ShoulderArm.Seg.Glove;
};
};
Problem:
The overall model loads normally and runs both RunParameterIdentification and RunAnalysis without errors.
However, the ExternalForce.any file itself does not load. In the Model it shows:
ExternalForce.any — Not Loaded
Even using Reload does not remove that message.
Also, the external forces do not appear in the model (no visible vectors, no additions to the equations of motion).
What I expect
ExternalForce.any should load normally with the rest of the model.
The two external forces should be applied to the glove segments of both hands.
What I have tried
- Verified the file path and location (
Setup/ExternalForce.any) - Checked the object path for the glove segment
- Reloaded the entire model
- Confirmed that the rest of the model loads and runs correctly
Thank you!