H!
I have this code:
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
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