It looks like you're new here. If you want to get involved, click one of these buttons!
local m = Matrix.new(1,0,0,1,x,y)
Likes: john26
Comments
1) keep Shape's 0 coordinate on shapes center
2) position texture using Matrix, where tx and ty are basically x and y coordinates, all other should be unity matrix, which means it should look like:
x = xCoord - textureWidth / 2
y = yCoord - textureHeight / 2
Thanks a lot, now my shadows are incredible ^^ !
Likes: john26