Skip to content

Conversation

the-can-of-soup
Copy link

@the-can-of-soup the-can-of-soup commented Dec 9, 2024

This is an extension I made that adds 60 vector math-related blocks. Extension ID: "souputilsvectors"

Name: Soup Vectors v5.1
Author (PenguinMod username): soup
Description: Vector math tools so you'll never need to do an arctangent ever again.

Thumbnail:
soup_vectors_thumbnail

Copy link

vercel bot commented Dec 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
penguinmod-extensions-gallery ✅ Ready (Inspect) Visit Preview Mar 23, 2025 3:03pm

@AlexSchoolOH
Copy link
Contributor

You might want to take the Campbells out of the thumbnail, its a copyright concern for PM

@the-can-of-soup
Copy link
Author

OK I'll work on that

@the-can-of-soup
Copy link
Author

the-can-of-soup commented Dec 9, 2024

I removed the "Campbell's" text from the icon

@the-can-of-soup the-can-of-soup marked this pull request as draft December 9, 2024 18:43
@CoolDevXD
Copy link

CoolDevXD commented Jan 8, 2025

i made something like this, yours is probably way better tho.
is this only 2d vectors or also 3d?

@the-can-of-soup
Copy link
Author

the-can-of-soup commented Jan 8, 2025

1d, 2d, 3d, 4d, whatever you want
there are blocks to grab the x, y, and z from a vector but there isn't a w block (you can still have the same functionality with the json extension though)
oh and i know nothing about 3d rotations so direction-based blocks are only for 2d

i looked at your extension and the 3d stuff is definitely way better than mine

@derpygamer2142
Copy link
Contributor

derpygamer2142 commented Jan 8, 2025

1d is just a number variable

@the-can-of-soup
Copy link
Author

yeah ik but you can do it if you want for some reason

@derpygamer2142
Copy link
Contributor

I don't see any method to get the w of a 4d vector or construct one

@the-can-of-soup
Copy link
Author

that will be an upcoming feature but for now you can use the json extension "in array (... your vector) get (3)" for grabbing w and you can use "in array (vector (x), (y), (z)) add (w)" to construct a vector

@the-can-of-soup
Copy link
Author

ok all the 4d stuff is there now

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.

4 participants