Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 13, 2008, 11:18:44 PM (16 years ago)
Author:
rgrieder
Message:

Added XML Parameters for restitution, angular factor, linear damping, angular damping and friction to WorldEntity.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/physics/src/orxonox/objects/collisionshapes/CollisionShape.cc

    r2423 r2429  
    6767        XMLPortParamTemplate(CollisionShape, "position", setPosition, getPosition, xmlelement, mode, const Vector3&);
    6868        XMLPortParamTemplate(CollisionShape, "orientation", setOrientation, getOrientation, xmlelement, mode, const Quaternion&);
     69        XMLPortParamTemplate(CollisionShape, "scale3D", setScale3D, getScale3D, xmlelement, mode, const Vector3&);
     70        XMLPortParamLoadOnly(CollisionShape, "scale", setScale, xmlelement, mode);
    6971        XMLPortParamLoadOnly(CollisionShape, "yaw",   yaw,   xmlelement, mode);
    7072        XMLPortParamLoadOnly(CollisionShape, "pitch", pitch, xmlelement, mode);
    7173        XMLPortParamLoadOnly(CollisionShape, "roll",  roll,  xmlelement, mode);
    72         XMLPortParamTemplate(CollisionShape, "scale3D", setScale3D, getScale3D, xmlelement, mode, const Vector3&);
    73         XMLPortParamLoadOnly(CollisionShape, "scale", setScale, xmlelement, mode);
    7474    }
    7575
Note: See TracChangeset for help on using the changeset viewer.