diff options
-rw-r--r-- | src/bulletphysics/qabstractcollider.cpp | 2 | ||||
-rw-r--r-- | src/bulletphysics/qabstractcollider.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/bulletphysics/qabstractcollider.cpp b/src/bulletphysics/qabstractcollider.cpp index 599dc7b4a..9d499e7b6 100644 --- a/src/bulletphysics/qabstractcollider.cpp +++ b/src/bulletphysics/qabstractcollider.cpp @@ -49,7 +49,7 @@ namespace BulletPhysics { QAbstractColliderPrivate::QAbstractColliderPrivate(QAbstractCollider *qq) : Qt3D::QComponentPrivate(qq) - , m_collisionBehavior(QAbstractCollider::SolidColliderBehavior) + , m_collisionBehavior(QAbstractCollider::NotifyOnly) { } diff --git a/src/bulletphysics/qabstractcollider.h b/src/bulletphysics/qabstractcollider.h index d40a3543d..428bea991 100644 --- a/src/bulletphysics/qabstractcollider.h +++ b/src/bulletphysics/qabstractcollider.h @@ -63,8 +63,8 @@ public: explicit QAbstractCollider(QNode *parent = 0); enum CollisionBehavior { - SolidColliderBehavior = 0, - NonSolidColliderBehavior + NotifyOnly = 0, + NotifyAndPreventIntersection }; void setCollisionBehavior(CollisionBehavior collisionBehavior); |