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
1 registered members (AndrewAMD), 1,486 guests, and 10 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
New camera question #152094
09/04/07 06:31
09/04/07 06:31
Joined: Aug 2006
Posts: 96
Netherlands
P
Polypfreak1987 Offline OP
Junior Member
Polypfreak1987  Offline OP
Junior Member
P

Joined: Aug 2006
Posts: 96
Netherlands
Hello,

I am making a wave swinger in 3D. Now I want to make an onride view of one gondela. I have the following code already:

Code:

function cam6() {
while(1) {
if(cam_s2 == 6) {
camera.x = gondel_rider.x;
camera.y = gondel_rider.y;
camera.z = gondel_rider.z-20;
camera.pan = gondel_rider.pan-90;
camera.roll = gondel_rider.skill15;


}
wait(1);
}
}


The camera almost move with the gondela correctly, but does't swing out. So you stay at the starting point, but you see your gondela swings out, but the camera not.

How can I fix this problem?

Thanks in advance.

Re: New camera question [Re: Polypfreak1987] #152095
09/08/07 17:51
09/08/07 17:51
Joined: Jan 2006
Posts: 968
EpsiloN Offline
User
EpsiloN  Offline
User

Joined: Jan 2006
Posts: 968
Make shure this : camera.roll = gondel_rider.skill15; (I mean skill15)
changes. If it doesnt , camera.roll wont be changed too.


Extensive Multiplayer tutorial:
http://mesetts.com/index.php?page=201

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