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
3 registered members (NewbieZorro, TipmyPip, AndrewAMD), 14,749 guests, and 7 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
Page 3 of 3 1 2 3
Re: Entity question - Please help [Re: bobby_danseco] #257402
03/23/09 08:41
03/23/09 08:41
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Try taking a copy of the YOU pointer straight after your c_move, then use the copy from there on.

It may be that one of the "enet_" function is disturbing the YOU pointer somehow...
I dont have enet, or any understanding of it so this is just an educated guess.

Sudden thought, try turning the auto-panning back ON for the "object". And make sure
that it is rotating on its own, while the player is un-moving. Maybe its getting
the wrong action assigned to it somehow...

AND, Is the object a real model or just a sprite?
(If its a sprite, ignore the above, and lock its PAN,TILT, AND ROLL to 0.01 and test.)


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: Entity question - Please help [Re: EvilSOB] #257406
03/23/09 09:08
03/23/09 09:08
Joined: Dec 2008
Posts: 124
bobby_danseco Offline
Member
bobby_danseco  Offline
Member

Joined: Dec 2008
Posts: 124
ok ill try that.. smile

Re: Entity question - Please help [Re: bobby_danseco] #257439
03/23/09 11:31
03/23/09 11:31
Joined: Dec 2008
Posts: 124
bobby_danseco Offline
Member
bobby_danseco  Offline
Member

Joined: Dec 2008
Posts: 124
hi evisob

its ok now.. i did nothing on the code
i just change the model from .tga to .wmb file
any explanation on that?

thanks.

Re: Entity question - Please help [Re: bobby_danseco] #257448
03/23/09 11:46
03/23/09 11:46
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
A point of clarification for your future reference, remember that if you
load an entity with an image file(tga, bmp etc), call it a sprite, not a model.
Sprites behave seriously different to models, including weird collison detection.

To explain the apparent problem your code had(which wasnt your code after all), read this snip from the "pan, tilt, roll"
section of the manual, noting the section Ive highlighted.
Quote:
Angles have a special meaning with sprites. If all angles are at zero, the sprite will stand upright and horizontally face the camera. If its pan or tilt angle is nonzero, the sprite is oriented in world space according to its angles. If pan and tilt both are 0, but the roll angle is nonzero, the sprite is always perpendicular to the camera. This is useful for spherical objects, like fireballs or explosions. For an angle to be nonzero it's sufficient to set it at a small amount, like 0.01.
So your sprite was following the camera because it is a sprite with a pan and tilt of zero.
You see?


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: Entity question - Please help [Re: EvilSOB] #257457
03/23/09 12:35
03/23/09 12:35
Joined: Dec 2008
Posts: 124
bobby_danseco Offline
Member
bobby_danseco  Offline
Member

Joined: Dec 2008
Posts: 124
ah.. thats explain it.. smile
its very enlightening thanks a lot..

Re: Entity question - Please help [Re: bobby_danseco] #257458
03/23/09 12:37
03/23/09 12:37
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Anytime.


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Page 3 of 3 1 2 3

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