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

Method updateCollision

Engine/source/forest/forestCollision.cpp:338–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336}
337
338void Forest::updateCollision()
339{
340 if ( !mData )
341 return;
342
343 mData->buildPhysicsRep( this );
344
345 // Make the assumption that if collision needs
346 // to be updated that the zoning probably changed too.
347 if ( isClientObject() )
348 mZoningDirty = true;
349}
350
351bool ForestData::castRay( const Point3F &start, const Point3F &end, RayInfo *outInfo, bool rendered ) const
352{

Callers

nothing calls this directly

Calls 1

buildPhysicsRepMethod · 0.45

Tested by

no test coverage detected