Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/06/23 11:29
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
7 registered members (fairtrader, Quad, miwok, Martin_HH, AndrewAMD, alibaba, dpn), 581 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
vertex perfect collision with animation #291133
09/23/09 14:56
09/23/09 14:56
Joined: Sep 2009
Posts: 12
Y
Yourself Offline OP
Newbie
Yourself  Offline OP
Newbie
Y

Joined: Sep 2009
Posts: 12
hi,

How can I detect a collision (vertex perfect) when the Entity is an animated (vertex) model ?
the problem is that the collision shell is only of the first frame, so if there is collision check on eg frame 4, it's still using the first frame olision shell frown

the code i'm using atm :
Code:
enable_polycollision = 2; //vertex perfect collision
level_load("test.wmb"); 
ent_create("blob.mdl",vector(0,0,100),Ani);
while (1)
{
c_move(ball, nullvector, vector(15 * time_step * (key_x - key_c), 4 * time_step * (key_cul - key_cur), 4 * time_step* (key_cuu - key_cud)), GLIDE);
}



any help ?

thx

Re: vertex perfect collision with animation [Re: Yourself] #291236
09/24/09 02:33
09/24/09 02:33
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany


Moderated by  HeelX, Spirit 

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