Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
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,473 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Jumping Camera #274893
06/29/09 03:17
06/29/09 03:17
Joined: Jun 2009
Posts: 26
D
dd231 Offline OP
Newbie
dd231  Offline OP
Newbie
D

Joined: Jun 2009
Posts: 26
Hi there,

I am having an issue with the camera scripts within WED. Whenever I compile and test my camera seems to jump (rapid movement of the x axis and tilt). Any1 know what is causing this?

Re: Jumping Camera [Re: dd231] #274895
06/29/09 03:45
06/29/09 03:45
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Its going to be your script! wink
But seriously, it IS going to be a script problem so here is a few things to keep in mind.

1> Make sure there is not any other code (like the templates) trying to control the camera un-expectedly.

2> Never change the camera's position or rotation more than ONCE per frame.
If you have more than one function 'controlling' the camera, make them store
the changes into a shared storage location, and have ONE of the functions
apply those changes to the camera just once per frame.

3> Always put a PROC_LATE into the function that moves the camera. (Check the manual under PROC_LATE)

Best of luck, and welcomne.


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial

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