File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -341,10 +341,6 @@ void PhysxArticulationLinkComponent::onAddToScene(Scene &scene) {
341
341
342
342
for (auto &shape : mCollisionShapes ) {
343
343
shape->getPxShape ()->setContactOffset (system->getSceneConfig ().contactOffset );
344
-
345
- auto col = shape->getCollisionGroups ();
346
- col[3 ] = (system->getSceneCollisionId () << 16 ) + col[3 ] & 0xffff ;
347
- shape->setCollisionGroups (col);
348
344
}
349
345
350
346
system->registerComponent (
Original file line number Diff line number Diff line change @@ -204,10 +204,6 @@ void PhysxRigidStaticComponent::onAddToScene(Scene &scene) {
204
204
// setup physical parameters
205
205
for (auto &shape : mCollisionShapes ) {
206
206
shape->getPxShape ()->setContactOffset (system->getSceneConfig ().contactOffset );
207
-
208
- auto col = shape->getCollisionGroups ();
209
- col[3 ] = (system->getSceneCollisionId () << 16 ) + col[3 ] & 0xffff ;
210
- shape->setCollisionGroups (col);
211
207
}
212
208
213
209
#ifdef SAPIEN_CUDA
@@ -239,10 +235,6 @@ void PhysxRigidDynamicComponent::onAddToScene(Scene &scene) {
239
235
mPxActor ->setSleepThreshold (system->getSceneConfig ().sleepThreshold );
240
236
for (auto &shape : mCollisionShapes ) {
241
237
shape->getPxShape ()->setContactOffset (system->getSceneConfig ().contactOffset );
242
-
243
- auto col = shape->getCollisionGroups ();
244
- col[3 ] = (system->getSceneCollisionId () << 16 ) + col[3 ] & 0xffff ;
245
- shape->setCollisionGroups (col);
246
238
}
247
239
248
240
system->registerComponent (
You can’t perform that action at this time.
0 commit comments