Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (TipmyPip, AndrewAMD, dBc, clonman), 18,643 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Whats the best way to make the camera follow the player? #345055
10/22/10 19:49
10/22/10 19:49
Joined: Oct 2010
Posts: 7
USA
R
RocketMan Offline OP
Newbie
RocketMan  Offline OP
Newbie
R

Joined: Oct 2010
Posts: 7
USA
Whats the best way to make the camera follow the player?
Right now I use vec_set which works fine until my car starts turning and then the camera turns with it (vec_set(camera.pan,player.pan);), turning away from the car.
Any ideas. I tried using vec_sub and everything but nothing seems to work. I know this is pretty easy its just that I am a beginner with 3dgs and I am not sure what exactly to do.
PS: I use 3DGS A7 PRO.
Thanks. All help will be greatly appreciated!

Last edited by RocketMan; 10/22/10 19:52.
Re: Whats the best way to make the camera follow the player? [Re: RocketMan] #345059
10/22/10 20:13
10/22/10 20:13
Joined: May 2007
Posts: 2,043
Germany
Lukas Offline

Programmer
Lukas  Offline

Programmer

Joined: May 2007
Posts: 2,043
Germany
Which version do you use? There are some useful vector functions that have been added in 7.5x I think.

Re: Whats the best way to make the camera follow the player? [Re: Lukas] #345072
10/22/10 22:12
10/22/10 22:12
Joined: Oct 2010
Posts: 7
USA
R
RocketMan Offline OP
Newbie
RocketMan  Offline OP
Newbie
R

Joined: Oct 2010
Posts: 7
USA
SED 7.10.1
WED 7.86


Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1