Something like this should work ....
Initialise ...
In the main loop ....
The target is a sphere to show you where you're moving to .. normally a pivot would suffice here.
Hope this helps.
Stevie
Initialise ...
plane = createplane() : entitypickmode plane, 2 target = createsphere() : entitycolor target, 255,0,0 player = createsphere()
In the main loop ....
Picked = camerapick( mousex(), mousey() ) if Picked = plane positionentity target, pickedx(), pickedy(), pickedz() endif if entitydistance( player, target ) > 10 turnentity player, 0, deltayaw( player, target )*.1, 0 moveentity player, 0, 0, .5 endif
The target is a sphere to show you where you're moving to .. normally a pivot would suffice here.
Hope this helps.
Stevie