Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, 1 invisible), 1,395 guests, and 12 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 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 | chip programmers | 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