reckfellENGINE

PinJoint3D

A physics joint that attaches two 3D physics bodies at a single point, allowing them to freely rotate.

On this page
class PinJoint3DReckfellSharpInherits Joint3D

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.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

PinJoint3DConstructor
# PinJoint3D
C#
public PinJoint3D();

Methods2

GetParamfloat
# GetParam
C#
public float GetParam(PinJoint3D.Param param);

Returns the value of the specified parameter.

Parameters
NameTypeDefault
paramPinJoint3D.Param—
Returns float
SetParamvoid
# SetParam
C#
public void SetParam(PinJoint3D.Param param, float value);

Sets the value of the specified parameter.

Parameters
NameTypeDefault
paramPinJoint3D.Param—
valuefloat—

PinJoint3D.Param

ValueDescription
Bias = 0

The force with which the pinned objects stay in positional relation to each other. The higher, the stronger.

Damping = 1

The force with which the pinned objects stay in velocity relation to each other. The higher, the stronger.

ImpulseClamp = 2

If above 0, this value is the maximum value for an impulse that this Joint3D produces.

Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.