Check out this code where I have yaw commented out for testing.
When I add 1 to either yaw or roll the model I'm loading turns the same. It's as if the parameters do the same thing but should they?
Please help 3d noob. :)
SuperStrict Import sidesign.minib3d Graphics3D 800, 600 Local Camera:TCamera = CreateCamera() PositionEntity Camera, 0, 0, - 10 Local light:TLight = CreateLight() Global Titletext:TMesh = LoadMesh("models/titletext.b3d") ScaleEntity Titletext, 0.8, 0.8, 0.8 PositionEntity Titletext, 0, 0, 0 Global pitch:Float, yaw:Float, roll:Float While Not KeyDown(KEY_ESCAPE) UpdateWorld() RotateEntity Titletext, 90, yaw, roll, True pitch:+1 'yaw:+1 roll:+1 If pitch > 360.0 Then pitch = 0.0 If yaw > 360.0 Then yaw = 0.0 If roll > 360.0 Then roll = 0.0 RenderWorld() BeginMax2D() DrawText "Pitch = " + pitch, 0, 0 EndMax2D() Flip WEnd
When I add 1 to either yaw or roll the model I'm loading turns the same. It's as if the parameters do the same thing but should they?
Please help 3d noob. :)