Turn Picture

Blitz3D Forums/Blitz3D Beginners Area/Turn Picture

AJ00200(Posted 2009) [#1]
Is there any way to turn a picture in 3D mode (Can this be done with sprites, or do they face the camera even if you turnEntity them)


Warner(Posted 2009) [#2]
There is a command called RotateSprite. I think it can be used for that.


AJ00200(Posted 2009) [#3]
OK thanks


Ross C(Posted 2009) [#4]
Make sure you adjust the SpriteViewMode too.


_PJ_(Posted 2009) [#5]
Yes, as mentioned above, the SpriteViewMode may need to be changed.
It depends on 'HOW' you wish to turn the sprite, i.e. what axis you are rotating it around.

By default, the SpriteViewMode is set to Always face the camera, so effectively, you can only Rotate it to simulate a Roll relative to the camera. Pitch or Yaw changes will not work in the default SpriteViewMode.