Texture Spin

Blitz3D Forums/Blitz3D Programming/Texture Spin

Neochrome(Posted 2006) [#1]
i have a sprite and i want a texture to spin from the center.
how do i make this possible?


big10p(Posted 2006) [#2]
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?


Neochrome(Posted 2006) [#3]
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


jhocking(Posted 2006) [#4]
http://www.blitzbasic.com/b3ddocs/command.php?name=RotateSprite&ref=3d_cat


Neochrome(Posted 2006) [#5]
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


big10p(Posted 2006) [#6]
Like I said: look in the code archives


Neochrome(Posted 2006) [#7]
couldn't find it before Big10p... NICE ONE! thanks