Skip to content

Conversation

@alicesaidhi
Copy link

Roblox allows passing in multiple CFrame's or Vector3's in functions that convert these into either World space or Object space.
This commit fixes the types to properly reflect that behavior and affects the following functions:
ToWorldSpace
ToObjectSpace
PointToWorldSpace
PointToObjectSpace
VectorToWorldSpace
VectorToObjectSpace

Roblox allows for passing in multiple CFrame's and Vector3's into these functions, but doesn't reflect this in their types.

This change fixes this so that they no longer produce type errors.
@JohnnyMorganz
Copy link
Owner

I remember someone previously submitted the same change. I was hesitant about this because it will break documentation (Roblox's documentation file assumes a one-parameter variant of these functions)

@alicesaidhi
Copy link
Author

is there any way around this?

@Ketasaja
Copy link
Contributor

Roblox/creator-docs#726

@Ketasaja
Copy link
Contributor

Documentation update is live.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants