Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qfixedjoint.cpp
Go to the documentation of this file.
1// Copyright (C) 2026 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
5
6#include "physxnode/qphysxactorbody_p.h"
9
10#include <extensions/PxFixedJoint.h>
11
13
14/*!
15 \qmltype FixedJoint
16 \inqmlmodule QtQuick3D.Physics
17 \since 6.12
18 \inherits PhysicsJoint
19 \brief A fixed joint.
20
21 A fixed joint that will keep the orientation of the bodies fixed.
22
23 \sa {DistanceJoint}
24 \sa {PrismaticJoint}
25 \sa {RevoluteJoint}
26 \sa {SphericalJoint}
27 \sa {D6Joint}
28*/
29
30physx::PxJoint *QFixedJoint::createPhysxJoint(physx::PxRigidActor *actorA,
31 physx::PxRigidActor *actorB,
32 const physx::PxTransform &trfA,
33 const physx::PxTransform &trfB)
34{
35 return physx::PxFixedJointCreate(*StaticPhysXObjects::getReference().physics, actorA, trfA,
36 actorB, trfB);
37}
38
39void QFixedJoint::setJointProperties()
40{
41 return;
42}
43
#define QT_BEGIN_NAMESPACE
#define QT_END_NAMESPACE