Godot-Community-Games-Org / game1

First community game let's go!
GNU General Public License v3.0
22 stars 5 forks source link

Added a couple of utility functions #16

Open StrawberrySmoothieDev opened 2 weeks ago

StrawberrySmoothieDev commented 2 weeks ago

Just two functions that I've consistently seen many people asking about. I'd personally rather get all the spoooooooky linear algebra out of the way as fast as possible so I don't have to think about it.

For more information check out this docs page or just ask me. :3

ChaoticTechSupport commented 2 weeks ago

to be honest, I have never required this. could you give an example if what it would be used for?

KaizNike commented 2 weeks ago

Yea it's not always you utilize a non-down gravity. Maybe for circular planet games.

KaizNike commented 2 weeks ago

Yea it's not always you utilize a non-down gravity. Maybe for circular planet games.

Could be handy for my proposal tho. There might be weird gravity situs.

ChaoticTechSupport commented 2 weeks ago

Yea it's not always you utilize a non-down gravity. Maybe for circular planet games.

Could be handy for my proposal tho. There might be weird gravity situs.

wait, you guys don't use the built in vector rotate function?

KaizNike commented 2 weeks ago

wait, you guys don't use the built in vector rotate function?

I recall there being situations where matrix transforms are better than vector rotations, but I don't remember using the vector rotate. I usually set rotation by delta speed where i need it.

StrawberrySmoothieDev commented 2 weeks ago

Yeah, on second thought it might be a little niche. Up to yall weather you want to merge.

ChaoticTechSupport commented 1 week ago

Yeah, on second thought it might be a little niche. Up to yall weather you want to merge.

no, no if it has a purpose that I'm just not seeing, then we should merge it in.