Hi im new here and have a few questions:
In a 3d game, what should be the scale for objects? As in, should one unit equal, one foot, one inch, etc? Or, does it matter - I know in some other 3d engines I've tried, as you get farther away from the origin of a lever, calculations become less accurate.
What does the colon (:) do in code. I was looking at the driver example and came across this line:
;calculate car velocities
cx#=EntityX( car ):x_vel=cx-prev_x:prev_x=cx
cy#=EntityY( car ):y_vel=cy-prev_y:prev_y=cy
cz#=EntityZ( car ):z_vel=cz-prev_z:prev_z=cz
and was wondering what it's doing.
I hope thats clear.
In a 3d game, what should be the scale for objects? As in, should one unit equal, one foot, one inch, etc? Or, does it matter - I know in some other 3d engines I've tried, as you get farther away from the origin of a lever, calculations become less accurate.
What does the colon (:) do in code. I was looking at the driver example and came across this line:
;calculate car velocities
cx#=EntityX( car ):x_vel=cx-prev_x:prev_x=cx
cy#=EntityY( car ):y_vel=cy-prev_y:prev_y=cy
cz#=EntityZ( car ):z_vel=cz-prev_z:prev_z=cz
and was wondering what it's doing.
I hope thats clear.