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
1 registered members (TipmyPip), 18,618 guests, and 5 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 2 of 2 1 2
Re: vec_for_vertex and animation [Re: Captain_Kiyaku] #128484
05/08/07 13:13
05/08/07 13:13
Joined: Apr 2006
Posts: 265
V
vartan_s Offline OP
Member
vartan_s  Offline OP
Member
V

Joined: Apr 2006
Posts: 265
I tried this all, didn't work. I also tried while(1). No success as I thought. You see, the hitbox WORKS (therefore aligning to the head) when turning or moving. However, somehow, the same thing doesn't work for animation - the hitbox remains at the head's normal location while the enemy dies.

Re: vec_for_vertex and animation [Re: vartan_s] #128485
05/08/07 13:14
05/08/07 13:14
Joined: Apr 2002
Posts: 4,801
Richmond B.C., Canada
Captain_Kiyaku Offline

Dichotomic
Captain_Kiyaku  Offline

Dichotomic

Joined: Apr 2002
Posts: 4,801
Richmond B.C., Canada
do you remove the model somewhere? maybe it jumps out of the "while(you)" function.


My Blog

"Tag und Nacht schrei ich mich heiser,
Wind weht alle Worte fort,
Tag und Nacht schrei ich mein Krähenwort!"

Subway To Sally - Krähenkönig
Re: vec_for_vertex and animation [Re: Captain_Kiyaku] #128486
05/08/07 13:22
05/08/07 13:22
Joined: Apr 2006
Posts: 265
V
vartan_s Offline OP
Member
vartan_s  Offline OP
Member
V

Joined: Apr 2006
Posts: 265
Hmmm... As part of debugging, I tried it with another model. It turns out the problem is not with my coding (as usual ). Instead it is with the "enemy" model which somehow plays the animation but doesn't update the vertexes. Well, thanks for trying to help at least.

Edit: Silly me. I created the vertexes myself, and therefore they don't change naturally during an animation.

Last edited by vartan_s; 05/08/07 13:27.
Re: vec_for_vertex and animation [Re: vartan_s] #128487
05/08/07 14:47
05/08/07 14:47
Joined: Oct 2003
Posts: 702
Z
zazang Offline
User
zazang  Offline
User
Z

Joined: Oct 2003
Posts: 702
Yeah as I said,they were probably not attached to the main body
Lets make a game where players have to snipe one vertice

Page 2 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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