RodConstraint

사용되지 않는 항목 표시

A RodConstraint keeps two attachments separated by its defined Length. By default, both attachments can rotate freely, although you can enable limits to restrict rotational tilt.

Note that if this constraint attaches one part (A) to another part (B) that is anchored or connected to an anchored part (Z), part A will not be locally simulated when interacting with a player.

Limits

You can limit rotation of the attachments within a cone, independently of each other, by enabling the LimitsEnabled property and setting LimitAngle0 and LimitAngle1 respectively.

요약

속성

속성Constraint에서 상속되었습니다

속성

CurrentDistance

읽기 전용
복제되지 않음
병렬 읽기

The current distance between the constraint's Attachments.

Length

병렬 읽기

The distance apart at which the constraint attempts to keep its Attachments. Measured in studs.

LimitAngle0

병렬 읽기

This property determines the maximum angle between the rod and Attachment0 when LimitsEnabled is true.

LimitAngle1

병렬 읽기

This property determines the maximum angle between the rod and Attachment1 when LimitsEnabled is true.

LimitsEnabled

병렬 읽기

This property determines whether the LimitAngle0 and LimitAngle1 properties control the angles between the rod and the respective attachments.

Thickness

병렬 읽기

The visualized thickness of the RodConstraint.

메서드

이벤트