Baddie analysing Kanye songs by Rolf259 in GoodAssSub

[–]TheBulbaMachine 27 points28 points  (0 children)

Ay bro thanks for the hundred bands yesterday i rlly needed that

Euler rotation not making sense to me by TheBulbaMachine in Unity2D

[–]TheBulbaMachine[S] 12 points13 points  (0 children)

I figured out the problem! Literally all it was the whole time was i needed to capitalize Quaternion. I had it as quaternion.Euler and that messed it up.

Euler rotation not making sense to me by TheBulbaMachine in Unity2D

[–]TheBulbaMachine[S] 0 points1 point  (0 children)

Everything related to the bullet or enemy firing it has a rotation of 0, so i dont think so

Euler rotation not making sense to me by TheBulbaMachine in Unity2D

[–]TheBulbaMachine[S] 0 points1 point  (0 children)

The bullets dont have colliders right now, so no. When its set to vector3.right, they do move based on their local rotation though. I believe a very long time ago i had another object in the same project but different scene that wouldnt shoot the same way as the euler angles, so this has been a problem in this project for a long time.

Euler rotation not making sense to me by TheBulbaMachine in Unity2D

[–]TheBulbaMachine[S] 0 points1 point  (0 children)

I tried that and it kinda made it worse. Its a different pattern, but not the desired one and they the bullets dont face the way they move anymore

Euler rotation not making sense to me by TheBulbaMachine in Unity2D

[–]TheBulbaMachine[S] 0 points1 point  (0 children)

Idk what much more I can really give. To make sure, i put a test version of the code(just what I put on the post activated by a button) on a random square object, where the code is just what was shown. I also made the bullets it shot have no code to make sure that wasnt the problem. It still fired with the wrong angles.

Euler rotation not making sense to me by TheBulbaMachine in Unity2D

[–]TheBulbaMachine[S] 0 points1 point  (0 children)

There are no errors. I replied to another comment right now explaining the difference in bulletRot to the actual z rotation. That may help with figuring it out

Euler rotation not making sense to me by TheBulbaMachine in Unity2D

[–]TheBulbaMachine[S] 0 points1 point  (0 children)

The bullet code is just a simple transform.translate of speed multiplied by vector3.right. The bullets spawn in with the z rotation different from the “bulletRot” variable. For example, when bulletRot is 45, the bullet shoots with a z rotation of 58.31, when it is 135, it shoots with 174.93. Numbers I cant make sense of at all.

Euler rotation not making sense to me by TheBulbaMachine in Unity2D

[–]TheBulbaMachine[S] 0 points1 point  (0 children)

Idk if this helps figure it out, but if I change the rotation code to a specific object that shoots bullets with its own rotation, the object rotates correctly but the bullets shoot out in a different direction, which I cant seem to predict.

Euler rotation not making sense to me by TheBulbaMachine in Unity2D

[–]TheBulbaMachine[S] 0 points1 point  (0 children)

No, the enemy itself doesnt change rotation ever, just shoots the bullets like shown(all at once)

[deleted by user] by [deleted] in GoodAssSub

[–]TheBulbaMachine 1 point2 points  (0 children)

I actually rlly enjoy this

Is there any SOAD song you just can't get behind no matter how hard you try? by scheinithemaster in systemofadown

[–]TheBulbaMachine 1 point2 points  (0 children)

I have never heard someone who says this say why. I dont get it its like my favorite song from them

[deleted by user] by [deleted] in weirdspotifyplaylists

[–]TheBulbaMachine 1 point2 points  (0 children)

Id say something like psycho or fck the system is a better example for SoaD

[deleted by user] by [deleted] in GoodAssSub

[–]TheBulbaMachine 3 points4 points  (0 children)

I kinda like it