MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / addObject

Method addObject

Engine/source/scene/simPath.cpp:255–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255void Path::addObject(SimObject* obj)
256{
257 Parent::addObject(obj);
258
259 if (mPathIndex != NoPathIndex) {
260 // If we're already finished, and this object is a marker, then we need to
261 // update our path information...
262 if (dynamic_cast<Marker*>(obj) != NULL)
263 updatePath();
264 }
265}
266
267void Path::removeObject(SimObject* obj)
268{

Callers 12

setProcessTickMethod · 0.45
addObjectToSceneMethod · 0.45
setScopeAlwaysMethod · 0.45
onAddMethod · 0.45
onAddMethod · 0.45
onAddMethod · 0.45
onAddMethod · 0.45
onAddMethod · 0.45
onAddMethod · 0.45
onAddMethod · 0.45
onAddMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected