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 positioning : Technical difficulties.

Author
Message
DannyE
15
Years of Service
User Offline
Joined: 10th May 2009
Location:
Posted: 28th May 2009 00:28
I need help on the script that places the camera behind the charecter no matter what ( except if a building or somethings in the way ). Would i use a variable?
endre3000
15
Years of Service
User Offline
Joined: 20th May 2009
Location:
Posted: 28th May 2009 01:40
If you look in the help file under Camera section, you will find the command dbSetCameraToFollow. This is a pretty good function out of the box, which gives you basic chase cam functionality.

Just read the description, but you can make it follow a character by giving it the character's current position on every update.

Haven't tried with the collisions yet.

Good luck!
DannyE
15
Years of Service
User Offline
Joined: 10th May 2009
Location:
Posted: 28th May 2009 05:43
Thanks. I will let you know if it works!!

Login to post a reply

Server time is: 2024-11-25 10:53:03
Your offset time is: 2024-11-25 10:53:03