I search a function for moving object
Blitz3D Forums/Blitz3D Programming/I search a function for moving object
| ||
Hi :) I search a fonction for move an object from :) Px1,Py1,Pz1 => Px2,Py2,Pz2 have an idea ? Regards |
| ||
move object px2-px1, py2-py1, pz2-pz1 |
| ||
Or function movetowards(sourceentity,targetentity,speed#,how_close#) pointentity sourceentity,targetentity moveentity sourceentity,0,0,speed if entitydistance(sourceentity,targetentity)<how_close# then return true else return false end function |
| ||
Thanks !!! very much ! |