CamLookAt
Blitz3D Forums/Blitz3D Programming/CamLookAt
| ||
Is there a function to make a camera to look at a certain XYZ position? ex. CamLookAt(camera,x#,y#,z#) |
| ||
You could create a pivot at x#,y#,z# and use PointEntity to make the camera look at that point.function CamLookAt(cam,x#,y#,z#) piv=createpivot() positionentity piv,x,y,z pointentity cam,piv freeEntity piv end function |