Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PhysicsFixedJointDefinition

A joint definition used to specify properties when creating a PhysicsFixedJoint.
Read time 1 minuteLast updated 9 days ago

Definition

public struct PhysicsFixedJointDefinition

Constructors

Constructor

Description

PhysicsFixedJointDefinition()Create a default PhysicsFixedJoint definition.
PhysicsFixedJointDefinition(System.Boolean)Create a default PhysicsFixedJoint definition.

Properties

Property

Description

angularDampingAngular damping, non-dimensional. Use 1 for critical damping.
angularFrequencyAngular stiffness frequency, in cycles per second. Use zero for maximum stiffness.
bodyAThe first body the joint constrains.
bodyBThe second body the joint constrains.
collideConnectedWhether the shapes on the pair of bodies can come into contact.
drawScaleControls the scaling of the joint drawing. Not all joints have scalable elements but those that do will use this scaling.
forceThresholdThe force threshold beyond which a joint event will be produced.
linearDampingLinear damping, non-dimensional. Use 1 for critical damping.
linearFrequencyLinear stiffness frequency, in cycles per second. Use zero for maximum stiffness.
localAnchorAThe local anchor frame constraint relative to bodyA's origin.
localAnchorBThe local anchor frame constraint relative to bodyB's origin.
torqueThresholdThe torque threshold beyond which a joint event will be produced.
tuningDampingControls the joint stiffness damping, non-dimensional. Use 1 for critical damping.
tuningFrequencyControls the joint stiffness frequency, in cycles per second.

Static Properties

Property

Description

defaultDefinitionGet a default PhysicsFixedJoint definition.