Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

3 Dimensional Chat / Scoll Map

Author
Message
TechHead
20
Years of Service
User Offline
Joined: 18th May 2003
Location:
Posted: 2nd Jun 2003 14:42
Hi,
I need to make a bsp map that scrolls from side to side slowly, But I can't get the map to scroll slow, Here is the code I am using ( position camera camera position x()+0.1,camera position y(),camera position z() ).

I don't want to put down my frame rate, I have tryed to change the 0.1 to 0.01 but the map just stops scrolling, Any help would be good.

Thanks
TechHead
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 3rd Jun 2003 02:28
Maybe 0.01 is too small an increment. Try saving the value in a variable, and using the variable in your POSITION CAMERA code.

For example, if the camera can only deal with 1/10ths of a unit, 0.01 will never generate a movement. However, because you are using a variable that can deal with 1/100ths, it will generate a movement every 10 frames.

Make sense?

Thanks in advance.
All the Best,
StevieVee

Login to post a reply

Server time is: 2024-05-09 16:00:54
Your offset time is: 2024-05-09 16:00:54