A joint that rigidly connects two entity pins, with zero degrees of freedom.
A fixed joint connects two ``GeometricPin`` instances,
``pin0`` and ``pin1``, so that their poses coincide.
There are zero degrees of rotational or linear freedom between the two pins.
Members (7)
get · iOS 18.0+
checksForInternalCollisions
TypeScript
get checksForInternalCollisions(): boolean
Swift declaration
let checksForInternalCollisions: Bool
A Boolean that indicates whether the joint checks and reports collisions between the two entity instances.
The entities that ``PhysicsFixedJoint`` references are not checked or reported,
so this property only returns `false`.
Creates a new fixed joint.
- Parameters:
- pin0: The local position and orientation on the first entity.
- pin1: The local position and orientation on the second entity.
get · iOS 18.0+
pin0
TypeScript
get pin0(): GeometricPin
Swift declaration
var pin0: GeometricPin
The pin that defines a local position and orientation on the first entity.
set · iOS 18.0+
pin0
TypeScript
set pin0(value: GeometricPin)
Swift declaration
var pin0: GeometricPin
The pin that defines a local position and orientation on the first entity.
get · iOS 18.0+
pin1
TypeScript
get pin1(): GeometricPin
Swift declaration
var pin1: GeometricPin
The pin that defines a local position and orientation on the second entity.
set · iOS 18.0+
pin1
TypeScript
set pin1(value: GeometricPin)
Swift declaration
var pin1: GeometricPin
The pin that defines a local position and orientation on the second entity.
get · iOS 18.0+
isActive
TypeScript
get isActive(): boolean
Swift declaration
var isActive: Bool { get }
A Boolean that indicates whether the joint is active.
Inactive joints do not participate in the physics simulation.
One example is a joint that does not reference any ``Entity`` with ``PhysicsBodyMode/dynamic``,
or when one or both the referenced entities are not active.