Skip to content

Commit

Permalink
Add CFrame.fromRotationBetweenVectors (#803)
Browse files Browse the repository at this point in the history
  • Loading branch information
Barocena authored Oct 27, 2024
1 parent 00eae9e commit 9d62b56
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions scripts/DataTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -1105,6 +1105,27 @@
"Name": "CFrame"
}
},
{
"MemberType": "Function",
"Name": "fromRotationBetweenVectors",
"Parameters": [
{
"Name": "from",
"Type": {
"Name": "Vector3"
}
},
{
"Name": "to",
"Type": {
"Name": "Vector3"
}
}
],
"ReturnType": {
"Name": "CFrame"
}
},
{
"MemberType": "Function",
"Name": "new",
Expand Down Expand Up @@ -3669,6 +3690,27 @@
}
]
},
{
"MemberType": "Function",
"Name": "FuzzyEq",
"Parameters": [
{
"Name": "other",
"Type": {
"Name": "CFrame"
}
},
{
"Name": "epsilon",
"Type": {
"Name": "number"
}
}
],
"ReturnType": {
"Name": "bool"
}
},
{
"MemberType": "Function",
"Name": "components",
Expand Down

0 comments on commit 9d62b56

Please sign in to comment.