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
\brief A fixed joint.
19
20
A fixed joint that will keep the orientation of the bodies fixed.
21
22
\sa {DistanceJoint}
23
\sa {PrismaticJoint}
24
\sa {RevoluteJoint}
25
\sa {SphericalJoint}
26
\sa {D6Joint}
27
*/
28
29
physx::PxJoint *QFixedJoint::createPhysxJoint(physx::PxRigidActor *actorA,
30
physx::PxRigidActor *actorB,
31
const
physx::PxTransform &trfA,
32
const
physx::PxTransform &trfB)
33
{
34
return
physx::PxFixedJointCreate(*StaticPhysXObjects::getReference().physics, actorA, trfA,
35
actorB, trfB);
36
}
37
38
void
QFixedJoint::setJointProperties()
39
{
40
return
;
41
}
42
43
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