Texture Spin
Blitz3D Forums/Blitz3D Programming/Texture Spin
| ||
i have a sprite and i want a texture to spin from the center. how do i make this possible? |
| ||
I think there's a function in the code archives to rotate a texture from the centre point. Can't you just rotate the sprite itself, though? |
| ||
id rather just rotote one texture in memory, than to have to loop though hundreds of sprites, this method takes 1 command, rather than hundres of 3D maths need more help |
| ||
http://www.blitzbasic.com/b3ddocs/command.php?name=RotateSprite&ref=3d_cat |
| ||
try rotating the TEXTURE not the sprite. i know how to rotate a sprite, i need to roate the texture RotateTexture but have it spinning in the middle of the sprite |
| ||
Like I said: look in the code archives |
| ||
couldn't find it before Big10p... NICE ONE! thanks |