I cannot get this camera command to work.
I have DBPro version 1.074. I tried a reinstall but it didn't work
sync on
sync rate 30
make object cube 1, 2
global angle as integer = 0
do
set camera to follow 0, 0, 0, angle, 10, 10, 0, 0
angle = angle + 1
point camera 0, 0, 0
sync
loop
This code makes nothing appear on the camera.
In a bigger program I logged camera position and angles with this command
It seems that the camera coordinates and camera angle y() are all undefined (shows up as 1.#IND in text)
I don't know why this command would divide by zero. Maybe its a bug?
#EDIT
apparently the smooth value cannot be zero. Problem Solved!
pi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342177067... and yet I still have a life.