Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
5 registered members (Dico, AndrewAMD, TipmyPip, NewbieZorro, Grant), 15,791 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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 | 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