40 #ifndef _fieldofforce_cpp
41 #define _fieldofforce_cpp
43 #include "fieldofforce.h"
45 #include "Physics/rigidproxy.h"
48 #include "exception.h"
89 {
return Mezzanine::WO_AreaEffectFieldOfForce; }
104 Real Distance, AppliedStrength;
108 (*ObjIt)->GetProxies(Mezzanine::PT_Physics_RigidProxy,RigidProxies);
109 if( RigidProxies.empty() )
112 ObjectLoc = (*ObjIt)->GetLocation();
140 if(0 > AppliedStrength)
144 for(
ProxyIterator ProxIt = RigidProxies.begin() ; ProxIt != RigidProxies.end() ; ++ProxIt )
225 if( !PropertiesNode.
Empty() ) {
227 CurrAttrib = PropertiesNode.
GetAttribute(
"AttenAmount");
228 if( !CurrAttrib.
Empty() )
232 if( !CurrAttrib.
Empty() )
236 if( !CurrAttrib.
Empty() )
240 if( !AttenSourceNode.
Empty() ) {
241 Vector3 Source(AttenSourceNode);
246 if( !DirectionNode.
Empty() ) {
262 {
return "FieldOfForce"; }
289 {
delete ToBeDestroyed; }