Light Rotation bug

Blitz3D Forums/Blitz3D Bug Reports/Light Rotation bug

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.

I have noticed that when you use the command RotateEntity with a light it works only with Pitch.

Given values:
Pitch: 90
Yaw: 20
Roll: 25

Returned values with EntityPitch, EntityYaw, and EntityRoll commands:
Pitch: 90
Yaw: -180
Rol: 180



Some code:
Graphics3D 640, 480, 0, 2
cam =CreateCamera()
h = CreateLight()

RotateEntity h, 90, 20, 25

DebugLog "CHECK: Pitch: " + EntityPitch(h) + " | Yaw: " + EntityYaw(h) + " | Roll: " + EntityRoll(h)

WaitKey()
End


Computer Info:
DX9 C
ATI Radeon X1950 512 MB - Latest drivers
B3D Version: 1.98, Userlibs: none
AMD Athlon 64 X2
WinXP Pro


[update]
Actually the rotation bug applies to any entity, not just lights.