Add Attachment.WorldCFrame

Attachments have WorldPosition and WorldOrientation for determining the position and orientation of the attachment in world space. These can be used to construct a CFrame, but require careful and unintuitive conversions in order to do so.

  • CFrames have several ways to construct rotation matrices, but it is not obvious which should be used with WorldOrientation.
  • WorldOrientation is given in degrees, while CFrame constructors receive radians.

It would be more convenient to just have a read-only WorldCFrame property.

13 Likes

Yep. They also have this internally, so it seems like a no brainer.

6 Likes

Added in 327

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.