MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / OnPhysicsSceneChanged

Method OnPhysicsSceneChanged

Source/Engine/Terrain/TerrainPatch.cpp:2671–2676  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2669}
2670
2671void TerrainPatch::OnPhysicsSceneChanged(PhysicsScene* previous)
2672{
2673 PhysicsBackend::RemoveSceneActor(previous->GetPhysicsScene(), _physicsActor, true);
2674 void* scene = _terrain->GetPhysicsScene()->GetPhysicsScene();
2675 PhysicsBackend::AddSceneActor(scene, _physicsActor);
2676}

Callers

nothing calls this directly

Calls 1

GetPhysicsSceneMethod · 0.80

Tested by

no test coverage detected