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

Method RemoveCollider

Source/Engine/Physics/PhysX/PhysicsBackendPhysX.cpp:4653–4660  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4651}
4652
4653void PhysicsBackend::RemoveCollider(PhysicsColliderActor* collider)
4654{
4655 for (auto scene : Physics::Scenes)
4656 {
4657 auto scenePhysX = (ScenePhysX*)scene->GetPhysicsScene();
4658 scenePhysX->RemoveColliders.Add(collider);
4659 }
4660}
4661
4662void PhysicsBackend::RemoveJoint(Joint* joint)
4663{

Callers

nothing calls this directly

Calls 2

GetPhysicsSceneMethod · 0.80
AddMethod · 0.45

Tested by

no test coverage detected