I'm having a rotation problem. I need the tip of the cone to point forward. Can anyone help?
rem Make drone to mark a back position
make object cone 3,10
rem Set camera range
set camera range 1,10000
rem Main loop
do
rem Control free flight object
if upkey()=1 then pitch object up 2,5
if downkey()=1 then pitch object down 2,5
if leftkey()=1 then turn object left 2,5
if rightkey()=1 then turn object right 2,5
if inkey$()="k" then roll object left 2,5
if inkey$()="l" then roll object right 2,5
if inkey$()="o" then move camera 20 : move object 2,20
if inkey$()="p" then move camera -20 : move object 2,-20
rem Get back position of object for camera
pitch object down 2,11
move object 2,-150
position object 3,object position x(2),object position y(2),object position z(2)
move object 2,150
pitch object up 2,11
rem Place camera and set orientation to object
position camera object position x(3),object position y(3),object position z(3)
set camera to object orientation 2
rem Update screen
sync
loop
Dont worry and keep a cool head.