| 235 | } |
| 236 | |
| 237 | void VTorque::setPathObjectInterp( PathObjectType *pPath, SceneObjectType *pObject, const F32 &pInterp ) |
| 238 | { |
| 239 | if ( !pPath || !pObject ) |
| 240 | { |
| 241 | // Sanity! |
| 242 | return; |
| 243 | } |
| 244 | |
| 245 | // Update Path Object Interp. |
| 246 | pPath->setPathObjectInterp( pObject, pInterp ); |
| 247 | |
| 248 | #if defined( VT_EDITOR ) && defined( VT_SYNC_LOCALCLIENT ) |
| 249 | |
| 250 | // Fetch the client Path. |
| 251 | VPath *clientPath = dynamic_cast<VPath*>( getClientObject( pPath ) ); |
| 252 | SceneObjectType *clientObject = dynamic_cast<SceneObjectType*>( getClientObject( pObject ) ); |
| 253 | if ( clientPath && clientObject ) |
| 254 | { |
| 255 | // Apply the same action. |
| 256 | clientPath->setPathObjectInterp( clientObject, pInterp ); |
| 257 | } |
| 258 | |
| 259 | #endif |
| 260 | } |
| 261 | |
| 262 | void VTorque::setPathObjectOffset( PathObjectType *pPath, SceneObjectType *pObject, const Point3F &pOffset ) |
| 263 | { |
nothing calls this directly
no test coverage detected