Some Vector3(or 2) methods are not documented

The :Ceil(), :Floor(), :Abs() and :Sign() methods for Vector3 / Vector2 are not documented in the api.

Here is where the methods are listed and these methods can not be found here:
https://create.roblox.com/docs/reference/engine/datatypes/Vector3#summary-methods

And here is how the methods act and what they do:

local exampleVector = Vector3.new(4.67, -23.32, 86) --this can be a Vector2 aswell
--Vector:Ceil() -> Returns a new Vector that applies ceil to each component of the original vector
print(exampleVector:Ceil()) --> (5, -23, 86)

--Vector:Floor() -> Returns a new Vector that applies floor to each component of the original vector
print(exampleVector:Floor()) --> (4, -24, 86)

--Vector:Abs() -> Returns a new Vector that has the absoulute value of the original vectors components
print(exampleVector:Abs()) --> (4.67, 23.32, 86)

--Vector:Sign() -> Returns a new Vector that has the original vectors components direction (-1, 0 or 1)
print(exampleVector:Sign()) --> (1, -1, 1)

sorry if i explained it in a weird way…

4 Likes

We’ve filed a ticket into our internal database for this issue, and will come back as soon as we have updates!

Thanks for flagging!

1 Like

Hey there, thanks a bunch for reporting. I’ve updated the Vector2 and Vector3 pages with the missing methods. Vector2 was also missing Angle(), so it was good to get eyes on it. We really appreciate the heads-up!

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