Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
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
4
#
include
"qfixedjoint_p.h"
5
6
#
include
"physxnode/qphysxactorbody_p.h"
7
#
include
"qabstractphysicsnode_p.h"
8
#
include
"qstaticphysxobjects_p.h"
9
10
#
include
<
extensions
/
PxFixedJoint
.
h
>
11
12
QT_BEGIN_NAMESPACE
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
30
physx::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
39
void
QFixedJoint::setJointProperties()
40
{
41
return
;
42
}
43
44
QT_END_NAMESPACE
QT_BEGIN_NAMESPACE
#define QT_BEGIN_NAMESPACE
Definition
qtconfigmacros.h:161
QT_END_NAMESPACE
#define QT_END_NAMESPACE
Definition
qtconfigmacros.h:162
qtquick3dphysics
src
quick3dphysics
joints
qfixedjoint.cpp
Generated on
for Qt by
1.18.0