Absolute rotation and movement ?

Blitz3D Forums/Blitz3D Beginners Area/Absolute rotation and movement ?

You mean like this?

Graphics3D 800,600
SetBuffer BackBuffer()


camera=CreateCamera()
PositionEntity camera,0,10,0
RotateEntity camera,90,0,0


cube=CreateCube()
cone=CreateCone()
EntityParent cone,cube
TurnEntity cone,90,0,0
ScaleEntity cone,1,3,1


While Not KeyHit(1)




	If KeyHit(203) Then RotateEntity cube,0,90,0
	If KeyHit(205) Then RotateEntity cube,0,270,0
	If KeyHit(200) Then RotateEntity cube,0,0,0
	If KeyHit(208) Then RotateEntity cube,0,180,0	
	
	UpdateWorld
	RenderWorld
	Flip
Wend
End