文档

Unity Engine

Unity Engine

JointDrive

How the joint's movement will behave along its local X axis.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Struct
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public struct JointDrive

Properties

Property

Description

maximumForceAmount of force applied to push the object toward the defined direction.
positionDamperResistance strength against the Position Spring. Only used if mode includes Position.
positionSpringStrength of a rubber-band pull toward the defined direction. Only used if mode includes Position.
useAccelerationDefines whether the drive is an acceleration drive or a force drive.