1 registered members (henrybane),
1,246
guests, and 8
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: kollisonserkennung?
[Re: starwolf]
#75231
05/23/06 21:39
05/23/06 21:39
|
Joined: Aug 2003
Posts: 7,439 Red Dwarf
Michael_Schwarz
Senior Expert
|
Senior Expert
Joined: Aug 2003
Posts: 7,439
Red Dwarf
|
Da wir leider nicht hellsehen können, wäre es wohl angebracht das du uns sagst was genau für ein fehler kommt...
"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
|
|
|
Re: kollisonserkennung?
[Re: starwolf]
#75233
05/23/06 21:48
05/23/06 21:48
|
Joined: May 2005
Posts: 2,713 Lübeck
Slin
Expert
|
Expert
Joined: May 2005
Posts: 2,713
Lübeck
|
Versuch mal den vektor vor dem c_move befehl zu setzen:
action my_ball { while (1) { if (key_w == on) { my.skill30 = 5*time; c_move (my,nullvector,my.skill30,glide); }
don´t know if this works but with a5 and ent_move this was the problem.
PS: my 100. post
Last edited by Slin; 05/23/06 21:49.
|
|
|
Re: kollisonserkennung?
[Re: starwolf]
#75238
05/23/06 22:06
05/23/06 22:06
|
Joined: Jul 2002
Posts: 4,436 Germany, Luebeck
Xarthor
Expert
|
Expert
Joined: Jul 2002
Posts: 4,436
Germany, Luebeck
|
wenn schon dann doch bitte so: Code:
action my_ball { while (1) { if (key_w == on) { c_move (my,nullvector,vector(5,0,0),glide); <<< WDL 07 } wait(1); //hat gefehlt } //hat gefehlt } //hat gefehlt
Ok ein paar änderungen: Code:
var pdist[3];
action ball_act { while(me) { pdist.x = 10 * (key_w - key_s) * time; pdist.y = 10 * (key_d - key_a) * time; c_move(me,nullvector,pdist,glide); wait(1); } }
Last edited by Thunder; 05/23/06 22:08.
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|