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
3 registered members (AndrewAMD, Ayumi, NewbieZorro), 14,141 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
Point A to point B camera code #229154
09/24/08 20:29
09/24/08 20:29
Joined: Sep 2003
Posts: 208
Michael_McCrickard Offline OP
Member
Michael_McCrickard  Offline OP
Member

Joined: Sep 2003
Posts: 208
Hi everybody,

Does anyone have code that just moves the camera from one point to another? I used to have working code that did this. It moved the camera smoothly to a destination vector and at the same time changed the rotation of the camera (smoothly) to match a second vector. So the camera ends up at the spot where I want it, pointing in the direction that I want.

I dusted off my old code and tried to adapt it to work in my new game, but it's acting crazy now! Can anyone help me out?

Thanks in advance.

Re: Point A to point B camera code [Re: Michael_McCrickard] #229156
09/24/08 20:35
09/24/08 20:35
Joined: Jan 2008
Posts: 1,580
Blade280891 Offline
Serious User
Blade280891  Offline
Serious User

Joined: Jan 2008
Posts: 1,580


My Avatar Randomness V2

"Someone get me to the doctor, and someone call the nurse
And someone buy me roses, and someone burned the church"
Re: Point A to point B camera code [Re: Blade280891] #229172
09/25/08 02:00
09/25/08 02:00
Joined: Sep 2003
Posts: 208
Michael_McCrickard Offline OP
Member
Michael_McCrickard  Offline OP
Member

Joined: Sep 2003
Posts: 208
That's some great code, lots of fun to watch and play with. Thanks for directing me to it. It doesn't include a way to set the target orientation but I may be able to modify it to achieve that. Thanks again, Blade.

Re: Point A to point B camera code [Re: Michael_McCrickard] #229173
09/25/08 02:14
09/25/08 02:14
Joined: Jan 2008
Posts: 1,580
Blade280891 Offline
Serious User
Blade280891  Offline
Serious User

Joined: Jan 2008
Posts: 1,580
NP


My Avatar Randomness V2

"Someone get me to the doctor, and someone call the nurse
And someone buy me roses, and someone burned the church"

Moderated by  adoado, checkbutton, mk_1, Perro 

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