Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,507 guests, and 12 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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 | 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