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
0 registered members (), 16,232 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
Newbie question on orientation #131049
05/22/07 05:33
05/22/07 05:33
Joined: May 2007
Posts: 51
A
ArtimusBena Offline OP
Junior Member
ArtimusBena  Offline OP
Junior Member
A

Joined: May 2007
Posts: 51



I've run into this problem where a player (spaceship) will only turn upwards 90 degrees, or if he does go further, the left-right controls switch places. It also affects controls if I tell the player's ship to rotate indefinitely. I'm pretty sure this has to do with world orientatin as opposed to player orientation, but I'm unsure how to tell it to use the correct one. I have a6 commercial. Thanks for reading

~Bena

Re: Newbie question on orientation [Re: ArtimusBena] #131050
05/22/07 08:46
05/22/07 08:46
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
Use:
Code:

c_rotate (me, vector(some key or mouse_y,some key or mouse_x, 0), USE_AXISR);


The main world in this code is Use_axisr
From help (F1)
Quote:

USE_AXISR rotates the angle parameter by the entity angle (like ang_rotate). This is required for rotating an arbitrarily orientated object, like an airplane or a spaceship. Otherwise the angle vector is just added to the entities' angles





Never say never.
Re: Newbie question on orientation [Re: tompo] #131051
05/22/07 09:28
05/22/07 09:28
Joined: May 2007
Posts: 51
A
ArtimusBena Offline OP
Junior Member
ArtimusBena  Offline OP
Junior Member
A

Joined: May 2007
Posts: 51
Nice. I hadn't downloaded 6.5 yet : p Thanks a bunch for the prompt reply


~I'm pretty sure I'm uncertain.
Re: Newbie question on orientation [Re: ArtimusBena] #131052
05/22/07 09:31
05/22/07 09:31
Joined: May 2007
Posts: 51
A
ArtimusBena Offline OP
Junior Member
ArtimusBena  Offline OP
Junior Member
A

Joined: May 2007
Posts: 51
Only problem I have now is : Error 37 can't update. No worries, it addresses it in the instructions.

Last edited by ArtimusBena; 05/22/07 09:39.

~I'm pretty sure I'm uncertain.

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