Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
player.pan question #433789
12/06/13 22:51
12/06/13 22:51
Joined: Apr 2008
Posts: 245
GameScore Offline OP
Member
GameScore  Offline OP
Member

Joined: Apr 2008
Posts: 245
got a another question with pan of an entity

i was try to find a way, but i`m blind to find it cry


i want to change the point of players.pan
should not rotate in the middle of itself

how can i change this?

Re: player.pan question [Re: GameScore] #433794
12/07/13 01:26
12/07/13 01:26
Joined: Jun 2013
Posts: 108
Alberta, Canada
C
CanadianDavid Offline
Member
CanadianDavid  Offline
Member
C

Joined: Jun 2013
Posts: 108
Alberta, Canada
Modifying player.pan will rotate on the central axis (0,0) of the model. You can rotate the model along a different axis by offsetting the model away from the central axis in MED.

Re: player.pan question [Re: CanadianDavid] #433797
12/07/13 05:37
12/07/13 05:37
Joined: Jan 2006
Posts: 968
EpsiloN Offline
User
EpsiloN  Offline
User

Joined: Jan 2006
Posts: 968
The point around wich you rotate a model is the center of the model defined in the modeling program...

Open the model in MED and move the whole mesh, place the center arrows where you want your model center to be, but keep in mind, for player characters, the center point has to be above the feet, or you'll have problems with collision detection. Atleast I had with the previous versions (A6,A5,A4).


Extensive Multiplayer tutorial:
http://mesetts.com/index.php?page=201
Re: player.pan question [Re: EpsiloN] #433882
12/08/13 10:57
12/08/13 10:57
Joined: Apr 2008
Posts: 245
GameScore Offline OP
Member
GameScore  Offline OP
Member

Joined: Apr 2008
Posts: 245
Tnx, in find my solution to modify the cam code wink

Re: player.pan question [Re: GameScore] #433892
12/08/13 14:58
12/08/13 14:58
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
DLively Offline
Serious User
DLively  Offline
Serious User

Joined: Apr 2005
Posts: 1,988
Canadian, Eh
or you could use a separate entity that holds the cameras action / function and move the separate entity around the player (not exactly sure what you're trying to achieve). I also agree with Epsilon - that is good practice.


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com

Gamestudio download | chip programmers | 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