MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / getBPGroup

Method getBPGroup

physx/source/simulationcontroller/src/ScShapeSim.cpp:139–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139Bp::FilterGroup::Enum ShapeSim::getBPGroup() const
140{
141 bool isKinematic = false;
142 BodySim* bs = getBodySim();
143 if(bs)
144 isKinematic = bs->isKinematic();
145
146 RigidSim& rbSim = getRbSim();
147 return Bp::getFilterGroup(rbSim.getActorType()==PxActorType::eRIGID_STATIC, rbSim.getRigidID(), isKinematic);
148}
149
150PX_FORCE_INLINE void ShapeSim::internalAddToBroadPhase()
151{

Callers

nothing calls this directly

Calls 2

isKinematicMethod · 0.45
getRigidIDMethod · 0.45

Tested by

no test coverage detected