Vector3 constructor for singular float #7312
Closed
FireCatMagic
started this conversation in
Scripting
Replies: 2 comments
-
While I'm sympathetic to the idea, I want to point out that you can do this:
Or this:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
This is already being tracked in #4822. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Current Vector3 Constructors:
Proposed Constructor (Inspect Element)
Using this constructor would be equivalent to using the float for x, y and z
Example
Vector3(4.5) = Vector3(4.5, 4.5, 4.5)
Why?
Just a miniscule change that wouldn't be difficult to implement. It would be useful for scenarios like the one that I have here:
Beta Was this translation helpful? Give feedback.
All reactions