40 #ifndef _physicsdualtransformconstraint_h
41 #define _physicsdualtransformconstraint_h
43 #include "Physics/constraint.h"
66 virtual void SetPivotATransform(
const Transform& TranA) = 0;
69 virtual void SetPivotBTransform(
const Transform& TranB) = 0;
72 virtual Transform GetPivotATransform()
const = 0;
75 virtual Transform GetPivotBTransform()
const = 0;
81 { SetPivotATransform(
Transform(Location, GetPivotARotation()) ); }
86 { SetPivotBTransform(
Transform(Location, GetPivotBRotation()) ); }
90 {
return GetPivotATransform().Location; }
94 {
return GetPivotBTransform().Location; }
100 { SetPivotATransform(
Transform(GetPivotALocation(), Rotation) ); }
105 { SetPivotBTransform(
Transform(GetPivotBLocation(), Rotation) ); }
109 {
return GetPivotATransform().Rotation; }
113 {
return GetPivotBTransform().Rotation; }
122 virtual void ProtoSerialize(
XML::Node& CurrentRoot)
const;
127 virtual void ProtoDeSerialize(
const XML::Node& OneNode);
131 static String SerializableName();