Sprites and Parents
BlitzMax Forums/MiniB3D Module/Sprites and Parents
| ||
Hi, i've got here some Sprites parented to some Pivots. When i rotate these pivots (turnentity pivot,pitch,yaw,roll),then the Sprites don't "look" at the camera any more! Is this a bug or my mistake? |
| ||
Sample please... |
| ||
Import klepto.minib3d Graphics3D 800,600,32,2 Local camera:TEntity = CreateCamera() Local lpivot:TEntity = CreatePivot() Local lsprite:TSprite = LoadSprite("070320_miniB3D.png",1,lpivot) 'SpriteViewMode(lsprite,1) MoveEntity lpivot,0,0,4 Repeat TurnEntity lpivot,1,1,1 UpdateWorld RenderWorld Flip Until KeyDown(KEY_ESCAPE) use this image: ![]() edit:// Well, it's the extended version, but i don't think, that klepto worked with the sprite stuff, did he? |
| ||
Bug confirmed, will fix in the next release. |
| ||
*yay* thanks :) |
| ||
Bug confirmed, will fix in the next release. Any hints on when you're thinking the next release may be, Simon? The 0.41 version was released in february, and I'm guessing quite a few things have been updated and fixed since that?! |
| ||
Please see my worklog for more info about V0.42. |