1 registered members (Akow),
1,361
guests, and 9
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: camera camera movement help
[Re: Tonyjack221]
#373739
06/12/11 16:02
06/12/11 16:02
|
Joined: Jan 2011
Posts: 797 Da wo du nicht bist! Muhahaha!
xxxxxxx
User
|
User
Joined: Jan 2011
Posts: 797
Da wo du nicht bist! Muhahaha!
|
look into default.c but so far i see your post (and postcount) are you new here so i would do the tutorial do the tutorials if i were you. http://tutorial.3dgamestudio.net/after them you should be able to do it yourself, if not post the code, which u are using and explane what it do and what it should do. xxxxxxx
Es ist immer wieder erstaunlich, dass Leute die riesen Scripte schreiben die einfachsten sachen nicht können zb. mich mit SIEBEN x zu schreiben!
|
|
|
Re: camera camera movement help
[Re: Tonyjack221]
#373746
06/12/11 17:05
06/12/11 17:05
|
Joined: Jul 2008
Posts: 1,178 England
MrGuest
Serious User
|
Serious User
Joined: Jul 2008
Posts: 1,178
England
|
how to create camera movement in lite-c with key w,d,s,a help me plz Really depends what kind of game you're making and what you want the camera to do. As xxxxxxx said do the tutorials first otherwise your postcount will be as high as 3run's!
|
|
|
Re: camera camera movement help
[Re: xxxxxxx]
#373768
06/12/11 19:11
06/12/11 19:11
|
Joined: May 2008
Posts: 257
djfeeler
Member
|
Member
Joined: May 2008
Posts: 257
|
hello, Here is an example to create a camera. you attach this action on a model :
action free_camera()
{
set(my,INVISIBLE);
set(my,PASSABLE);
while (1)
{
my.pan -= 10 * mouse_force.x * time_step;
my.tilt += 10 * mouse_force.y * time_step;
c_move(my,vector ((key_w-key_s)*30*time_step,(key_a-key_d)*30*time_step,0),nullvector,IGNORE_PASSABLE|GLIDE);
vec_set(camera.x, my.x);
vec_set(camera.pan,my.pan);
wait(1);
}
}
here a example of free camera link
Last edited by djfeeler; 06/12/11 19:33.
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|