PhysX SDK 3.2 API Reference: PxCCTInteractionMode Struct Reference

PhysX SDK 3.2 API

PxCCTInteractionMode Struct Reference
[Character]

specifies how a CCT interacts with other CCTs. More...

#include <PxController.h>

List of all members.


Public Types

enum  Enum {
  eINCLUDE,
  eEXCLUDE,
  eUSE_FILTER
}

Detailed Description

specifies how a CCT interacts with other CCTs.

This member controls if a character controller will collide with another controller. There are 3 options: always collide, never collide and collide based on the shape group. This flag only affects other controllers when they move; when this controller moves, the flag is ignored and the flags of the other controllers determine collision.


Member Enumeration Documentation

Enumerator:
eINCLUDE  Always collide character controllers.
eEXCLUDE  Never collide character controllers.
eUSE_FILTER  Collide based on a group bitmask stored in the controller.

The groups to collide against are passed in the activeGroups member of PxController::move(). The active groups flags work on top of the Physics SDK filtering logic of the controllers kinematic actor to determine if a collision should occur:

activeGroups & controller->getGroupsBitmask()

See also:
PxController.move() PxController.getGroupsBitmask() PxController.setGroupsBitmask()


The documentation for this struct was generated from the following file:



Copyright © 2008-2012 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com