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,403 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
c-script for lite-c #209400
06/02/08 19:53
06/02/08 19:53
Joined: Apr 2006
Posts: 10
Brasil
alves Offline OP
Newbie
alves  Offline OP
Newbie

Joined: Apr 2006
Posts: 10
Brasil
How is this code for lite-c?

var tempPan[3];
tempPan.pan = player.ROTATION_SPEED * runForce * time_step;


Breve Meu E-BOOK
Desenvolvimento de Jogos Em Lite-C
Iniciante em 3D Game Studio
Meu Portfólio
Re: c-script for lite-c [Re: alves] #209461
06/03/08 08:00
06/03/08 08:00
Joined: Dec 2005
Posts: 490
Germany/Berlin-Velten
kasimir Offline
Senior Member
kasimir  Offline
Senior Member

Joined: Dec 2005
Posts: 490
Germany/Berlin-Velten
I think something like this:

ANGLE tempPan;

tempPan.pan = player.ROTATION_SPEED * runForce * time_step;

use ANGLE for pan tilt roll and VECTOR for x y z!

Last edited by kasimir; 06/03/08 08:04.
Re: c-script for lite-c [Re: kasimir] #209484
06/03/08 12:08
06/03/08 12:08
Joined: Apr 2006
Posts: 10
Brasil
alves Offline OP
Newbie
alves  Offline OP
Newbie

Joined: Apr 2006
Posts: 10
Brasil
thanks...
Me saved 250 lines of code.


Breve Meu E-BOOK
Desenvolvimento de Jogos Em Lite-C
Iniciante em 3D Game Studio
Meu Portfólio

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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