Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
2 registered members (Grant, AndrewAMD), 911 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
e 3rd person camera problems #260112
04/08/09 22:47
04/08/09 22:47
Joined: Mar 2009
Posts: 10
N
nicholas_cato Offline OP
Newbie
nicholas_cato  Offline OP
Newbie
N

Joined: Mar 2009
Posts: 10
Im having trouble making the camera move with the entity.Ive tried using the one displayed in the lite-c manual,and it works but the camera is placed at the charecters feet.This is the code ive tried using:

vec_set(camera.x,player.x);
vec_set(camera.pan,player.pan);

Is there a better way of doing this? Thx in advance.

Re: e 3rd person camera problems [Re: nicholas_cato] #260151
04/09/09 06:35
04/09/09 06:35
Joined: Aug 2003
Posts: 2,008
Bucharest, Romania
George Offline

Expert
George  Offline

Expert

Joined: Aug 2003
Posts: 2,008
Bucharest, Romania
vec_set(camera.x,player.x);
camera.z += 50; // play with 50
vec_set(camera.pan,player.pan);

Re: e 3rd person camera problems [Re: George] #260516
04/11/09 17:32
04/11/09 17:32
Joined: May 2008
Posts: 62
México.
F
FcoElizalde Offline
Junior Member
FcoElizalde  Offline
Junior Member
F

Joined: May 2008
Posts: 62
México.
Also the manual recomends to put the origin near the center of the model.


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