1
Graphics / Re: Rotation rectangle around object
« on: April 26, 2022, 06:26:51 pm »
Thx for the link , Ye i tried to calculate it and just solve it with trig math without success.
I also tried to use transform and rotate the transform around the center and then apply the transform to the player in order to not have to change and rechange the origin of the player all the time.
EDIT:
Solved the rotation part thanks to your link
I also tried to use transform and rotate the transform around the center and then apply the transform to the player in order to not have to change and rechange the origin of the player all the time.
EDIT:
Solved the rotation part thanks to your link