rbxmk icon indicating copy to clipboard operation
rbxmk copied to clipboard

Support Roblox's pivot API

Open Anaminus opened this issue 2 years ago • 0 comments

It would be wildly convenient if it were possible to use GetPivot and PivotTo to move models and parts around.

Considerations:

  • Several properties from several classes are affected.
  • Must be descriptor-agnostic. Should be similar to descriptor/AttrConfig API.
  • A configuration matching Roblox is provided by default.
  • Roblox can add more affected classes/properties in the future. The implementation should be simple to extend.
    • Use descriptor extensions (#65).
  • Basically involves implementing Roblox's pivoting engine. Could be daunting.
    • We have a complete CFrame implementation, so it might not be so bad.
  • Should have thorough testing!
    • Write tests for Roblox's implementation. Design them so that they can also run in rbxmk.

Anaminus avatar May 07 '22 20:05 Anaminus