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
4 registered members (AndrewAMD, TipmyPip, NewbieZorro, Grant), 14,196 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
A7 and sprites #145344
08/02/07 19:29
08/02/07 19:29
Joined: Oct 2005
Posts: 131
C
CBSection31 Offline OP
Member
CBSection31  Offline OP
Member
C

Joined: Oct 2005
Posts: 131
Hello everyone,

I'm not sure if this is the right forum to post this in, since this is an A7 question. However, I am using C-Script and not Lite-C, so hopefully this is the place.

I'm trying to set up a sprite so that it always faces the camera. Just setting it's rotation values to 0 isn't enough, as that always faces the camera but stays perpendicular to the floor. I want the sprite to face the camera no matter what angle the camera is at.

In A6, I accomplished this by using the following code:

Code:
my.oriented=off;
my.facing=on;



Unfortunately, this no longer seems to work. Does anyone have any ideas?

Thanks!

Re: A7 and sprites [Re: CBSection31] #145345
08/02/07 19:32
08/02/07 19:32
Joined: Oct 2005
Posts: 131
C
CBSection31 Offline OP
Member
CBSection31  Offline OP
Member
C

Joined: Oct 2005
Posts: 131
Nevermind, I just fixed my own problem. Apparently, you now have to set roll to a non-zero value to get this to work, while leaving pan and tilt at 0. It works perfectly.


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