turn the child only ?

Blitz3D Forums/Blitz3D Beginners Area/turn the child only ?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

H!

I have this code:

player	= CreatePivot()
p_body	= CreateCone(20,1,player)
p_head	= CreateSphere(8,p_body)
cam_target  = CreatePivot(p_head)
camera	    = CreateCamera(cam_target)

	If KeyDown(key_arrowpad_left) 	Then 
		p_yaw#=+p_speed#
		TurnEntity	p_head,p_pitch#,p_yaw#,p_roll# 
	EndIf
	
	If KeyDown(key_arrowpad_right) 	Then 
		p_yaw#=-p_speed#
		TurnEntity	p_head,p_pitch#,p_yaw#,p_roll# 
	EndIf
		
	If KeyDown(key_arrowpad_up)		Then 
		p_z#=+p_speed#
		MoveEntity 	player,p_x#,p_y#,p_z#
	EndIf
	
	If KeyDown(key_arrowpad_down)	Then 
		p_z#=-p_speed#
		MoveEntity 	player,p_x#,p_y#,p_z#
	EndIf


When turn the p_head (a child of p_body)
then the p_body (parent) turn's ?

How must I fix this ?

I want to have one "player" and want to turn the head for example without the body.

Thanks