Gamestudio Links
Zorro Links
Newest Posts
Purchase A8 full licence version
by ukgamer. 04/29/26 18:09
Z9 getting Error 058
by k_ivan. 04/25/26 19:13
ZorroGPT
by TipmyPip. 04/25/26 16:09
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 4,296 guests, and 26 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ukgamer, valino, juergenwue, VladMak, Geir
19210 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
spaceship #131263
05/23/07 06:55
05/23/07 06:55
Joined: Apr 2007
Posts: 83
prog Offline OP
Junior Member
prog  Offline OP
Junior Member

Joined: Apr 2007
Posts: 83
how to make the spaceship move in the space(air).

Re: spaceship [Re: prog] #131264
05/23/07 07:24
05/23/07 07:24
Joined: Jun 2005
Posts: 4,875
broozar Offline
Expert
broozar  Offline
Expert

Joined: Jun 2005
Posts: 4,875
search your manual for ent_move/c_move, ang_rotate/ang_add/c_rotate

Re: spaceship [Re: broozar] #131265
05/27/07 06:40
05/27/07 06:40
Joined: Aug 2006
Posts: 128
Papua New Guinea
I
Impaler Offline
Member
Impaler  Offline
Member
I

Joined: Aug 2006
Posts: 128
Papua New Guinea
If it's a large spaceship, you should use the polygon flag combined with directly changing the x, y, z coordinates, because it c_move doesn't work with polygon collision models.


Murphey's Law:
<< if anything can go wrong, it will >>

(Murphey was an optimist).
Re: spaceship [Re: Impaler] #131266
05/31/07 11:12
05/31/07 11:12
Joined: Mar 2007
Posts: 18
A
ato Offline
Newbie
ato  Offline
Newbie
A

Joined: Mar 2007
Posts: 18
try this one

Code:


...

// direction is a vector...

spaceship.x += direction.x;
spaceship.y += direction.y;
spaceship.z += direction.z;




Re: spaceship [Re: ato] #131267
05/31/07 11:20
05/31/07 11:20
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
move... c_move
rotate.... c_rotate
easy... isn't it?

if you want to have full 360 degree pan/tilt use use_axisr mode


Never say never.

Moderated by  HeelX, rvL_eXile 

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