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
2 registered members (AndrewAMD, TipmyPip), 12,420 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
c_updatehull(ENTITY* ent, var frame) #172264
12/11/07 15:11
12/11/07 15:11
Joined: Feb 2006
Posts: 324
Germany
M
maybenew Offline OP
Senior Member
maybenew  Offline OP
Senior Member
M

Joined: Feb 2006
Posts: 324
Germany
Quote:

Recalculates collision hulls for the given entity to match the vertex positions of a certain frame (starting at 1 for first frame).




This is crap. If you use "C_Updatehull (My, 1)" for an entity with only one frame the collision hull is totally screwed up. The frame number has to start at 0.

This little error caused... you don't wanna know what problems we had because of this.

I would like to ask for a better communication between the people writing the functions and the people documenting it for the users.

Re: c_updatehull(ENTITY* ent, var frame) [Re: maybenew] #172265
12/12/07 13:12
12/12/07 13:12
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Thanks for the info. The 'crap' was not caused by bad communication in this case, but by a missing -1 in the code.

Re: c_updatehull(ENTITY* ent, var frame) [Re: jcl] #172266
12/12/07 20:55
12/12/07 20:55
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
strange if i use 1 it works greate only if i use a animation frames it sucks


"empty"

Moderated by  aztec, Inestical, Matt_Coles, Tobias 

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