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.

Dark GDK / Camera with 3d Model

Author
Message
Scope 51791
16
Years of Service
User Offline
Joined: 25th Jul 2008
Location:
Posted: 3rd Aug 2008 05:08
Alright, right now I am starting to work on a simple game. I plan on putting a 3rd person view and when he aims, the camera moves closer to the character so it is basically over the shoulder camera. But as you remember me asking a queston concerning glueing objects to limbs ( Still trying to get the weapon on his hand ) I tried moving the camera close and this happens:



Now I am concerned if what I plan on doing is possible. Is there a way to stop this from happening when I move the camera close. Can I make an over the shoulder view?
Juggalo Memnoch
16
Years of Service
User Offline
Joined: 22nd Apr 2008
Location:
Posted: 4th Aug 2008 06:37
Some source code might help
SunDawg
19
Years of Service
User Offline
Joined: 21st Dec 2004
Location: Massachusetts
Posted: 4th Aug 2008 07:27
dbSetCameraRange( [Camera Number], Near Value, Far Value );

Experiment.


My site, for various stuff that I make.
sydbod
16
Years of Service
User Offline
Joined: 14th Jun 2008
Location: Just look at the picture
Posted: 4th Aug 2008 14:18
Quote: "dbSetCameraRange( [Camera Number], Near Value, Far Value );"


Yes that is it.

had the same problem with cockpits in an aircraft.

The "Near Value" will have to be made very small, but do not make it "Zero" in value otherwise your terrain will go funny in transparency all of a sudden.

Login to post a reply

Server time is: 2024-11-20 17:22:45
Your offset time is: 2024-11-20 17:22:45