Inheritance #
- AudioServer
- CameraServer
- ClassDB
- DisplayServer
- EditorFileSystemDirectory
- EditorInterface
- EditorPaths
- EditorSelection
- EditorUndoRedoManager
- EditorVCSInterface
- Engine
- EngineDebugger
- FramebufferCacheRD
- GDExtensionManager
- Geometry2D
- Geometry3D
- IP
- Input
- InputMap
- JNISingleton
- JSONRPC
- JavaClassWrapper
- JavaScriptBridge
- MainLoop (1)
- Marshalls
- MovieWriter
- NativeMenu
- NavigationMeshGenerator
- NavigationServer2D
- NavigationServer3D
- Node (21)
- OS
- OpenXRExtensionWrapperExtension
- OpenXRInteractionProfileMetadata
- Performance
- PhysicsDirectBodyState2D (1)
- PhysicsDirectBodyState3D (1)
- PhysicsDirectSpaceState2D (1)
- PhysicsDirectSpaceState3D (1)
- PhysicsServer2D (1)
- PhysicsServer2DManager
- PhysicsServer3D (1)
- PhysicsServer3DManager
- PhysicsServer3DRendering
ServerHandler
- ProjectSettings
- RefCounted (121)
- RenderData (2)
- RenderSceneData (2)
- RenderingDevice
- RenderingServer
- ResourceLoader
- ResourceSaver
- ResourceUID
- ScriptLanguage (1)
- ShaderIncludeDB
- TextServerManager
- ThemeDB
- TileData
- Time
- TranslationServer
- TreeItem
- UndoRedo
- UniformSetCacheRD
- WorkerThreadPool
- XRServer
- XRVRS
- AnimationMixer (2)
- AudioStreamPlayer
- CanvasItem (2)
- CanvasLayer (1)
- EditorFileSystem
- EditorPlugin (1)
- EditorResourcePreview
- HTTPRequest
- InstancePlaceholder
- MissingNode
- MultiplayerSpawner
- MultiplayerSynchronizer
- NavigationAgent2D
- NavigationAgent3D
- Node3D (31)
- ResourcePreloader
- ShaderGlobalsOverride
- StatusIndicator
- Timer
- Viewport (2)
- WorldEnvironment
- AudioListener3D
- AudioStreamPlayer3D
- BoneAttachment3D
- Camera3D (1)
- CollisionObject3D (2)
- CollisionPolygon3D
- CollisionShape3D
- GridMap
- ImporterMeshInstance3D
- Joint3D (5)
- LightmapProbe
- Marker3D
- NavigationLink3D
- NavigationObstacle3D
- NavigationRegion3D
- OpenXRCompositionLayer (3)
- OpenXRHand
- Path3D
- PathFollow3D
- RayCast3D
- RemoteTransform3D
- ShapeCast3D
- Skeleton3D
- SkeletonModifier3D (7)
- SpringArm3D
- SpringBoneCollision3D (3)
- VehicleWheel3D
- VisualInstance3D (13)
- XRFaceModifier3D
- XRNode3D (2)
- XROrigin3D
Table of contents
-
var params/bias: float = 0.3 -
var params/damping: float = 1.0 -
var params/impulse_clamp: float = 0.0 -
const func get_param(param: int enumPinJoint3D.Param) -> float -
func set_param(value: float) -> void -
const PARAM_BIAS = 0 enum Param -
const PARAM_DAMPING = 1 enum Param -
const PARAM_IMPULSE_CLAMP = 2 enum Param -
enum Param
PinJoint3D #
is_instantiable, Node3D, Node, core, not_builtin_classes
A physics joint that attaches two 3D physics bodies at a single point, allowing them to freely rotate.
A physics joint that attaches two 3D physics bodies at a single point, allowing them to freely rotate. For example, a RigidBody3D can be attached to a StaticBody3D to create a pendulum or a seesaw.
Members #
var params/bias: float = 0.3#
The force with which the pinned objects stay in positional relation to each other. The higher, the stronger.
var params/damping: float = 1.0#
The force with which the pinned objects stay in velocity relation to each other. The higher, the stronger.
var params/impulse_clamp: float = 0.0#
If above 0, this value is the maximum value for an impulse that this Joint3D produces.
Methods #
const func get_param(param: int enumPinJoint3D.Param) -> float#
Returns the value of the specified parameter.
func set_param(value: float) -> void#
Sets the value of the specified parameter.
Annotations #
Constants #
const PARAM_BIAS = 0 enum Param#
The force with which the pinned objects stay in positional relation to each other. The higher, the stronger.
const PARAM_DAMPING = 1 enum Param#
The force with which the pinned objects stay in velocity relation to each other. The higher, the stronger.
const PARAM_IMPULSE_CLAMP = 2 enum Param#
If above 0, this value is the maximum value for an impulse that this Joint3D produces.
Constructors #
Enums #
Param#
enum Param {
PARAM_BIAS = 0,
PARAM_DAMPING = 1,
PARAM_IMPULSE_CLAMP = 2,
}