yaw and roll turn the same way?

BlitzMax Modules Forums/MiniB3D/yaw and roll turn the same way?

Is this closer to what you were expecting? I attached your Titletext mesh to a pivot and set both of the RotateEntity() calls to be local. With this code my model spins around the Y axis (vertically on the screen) AND rotates around the Y axis of the model which is now horizontal since its parent is rotated 90 deg on the X axis.

SuperStrict

Import sidesign.minib3d

Graphics3D 800, 600

Local Camera:TCamera = CreateCamera()
PositionEntity Camera, 0, 0, - 10

Local light:TLight = CreateLight()

'Give the object another 3 degrees of rotation
Global titlePivot:TEntity = CreatePivot()


Global Titletext:TMesh = LoadMesh("models/titletext.b3d",titlePivot)
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 titlePivot, 90, yaw, 0, False 'We want local rotations I believe
	RotateEntity Titletext,0,yaw,0, False
	
	'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


Hope that helps.