rigidBodyDynamics: Simplified the IO of bodies

This commit is contained in:
Henry Weller
2016-04-08 16:56:48 +01:00
parent 1ec2507f62
commit 93f2f0d41a
7 changed files with 36 additions and 13 deletions

View File

@ -3,10 +3,10 @@ bodies0
pendulum
{
type rigidBody;
parent root;
mass 1;
centreOfMass (0 -1 0);
inertia (0.001 0 0 0.001 0 0.001);
parent root;
transform (1 0 0 0 1 0 0 0 1) (0 0 0);
joint
{
@ -30,9 +30,9 @@ bodies
weight
{
type sphere;
mergeWith hinge;
mass 1;
radius 0.05;
transform (1 0 0 0 1 0 0 0 1) (0 -1 0);
mergeWith hinge;
}
}