-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add vector3 #340
Add vector3 #340
Conversation
Good start! I can add Block Code to a Node3D and see the Vector3 input of position, rotation, scale. Now when I try to add some numbers for the X, Y, Z I see errors in the output:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is working very well now!
Grabación de pantalla desde 2024-12-17 09-03-13.webm
As last thing, could you add some blocks for Vector3 handling? Like these ones for Vector2:
Basically:
- Blocks for obtaining the Vector3 components (x, y, z).
- A block for composing a Vector3 with 3 components.
Then it's good to merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new blocks look good! As with the previous PR, please rebase into one or multiple commits with descriptive commit messages.
Vector3 was previously only supported as a getter block, now it also is supported as a setter along with new math blocks and a new vector3 variable block. I made the following changes - adding vector3 to the parameter_input scene - adding vector3 to types.gd - adding vector3 to blocks_catalog.gd and blocks_ast.gd - created new math blocks: vector3_x, vector3_y, vector3_z and vector3_multiply - created new vector3 variable block Fixes endlessm#330
e2e7397
to
5afe404
Compare
just squashed the commits, should be ready to merge now. |
The blocks for Vector3 operations are working! |
/claim #330
I added Vector3 support to parameter_input and blocks_catalog.