Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by mistery. 12/05/26 12:48
contractUpdate() is filtering if >2 rows
by mistery. 12/04/26 19:03
Removing outliers from files
by AndrewAMD. 12/02/26 15:26
SGT_FW
by Aku_Aku. 11/30/26 08:19
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (AndrewAMD), 2,576 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 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 | 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