IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

Please post mod releases in the Mod Showroom

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


  Reply to this topicStart new topicStart Poll

 Collision File

 structure
 
DK22Pac  
Posted: Wednesday, Jun 6 2012, 09:01
Quote Post


Assembly. / Acceмбли.
Group Icon
Group: Members
Joined: Apr 12, 2009

un.gif

XXXXX



Hey. I'm working on some project now, relative to collision models.
I found that here
http://www.gtamodding.com/index.php?title=...ion_File#Header
We have some 2 unknown offsets.
So, the first one is offset to "suspension lines" (tnx to MTA team).
But the second... I discovered some code, and found that its an offset to some data with struct
CODE
WORD x
WORD y
WORD z
BYTE[4] unk

So what it could be? Or maybe it was already found somewhere?

This post has been edited by DK22Pac on Saturday, Aug 18 2012, 12:05
Users WebsitePM
  Top
 

 
DK22Pac  
Posted: Saturday, Aug 18 2012, 12:04
Quote Post


Assembly. / Acceмбли.
Group Icon
Group: Members
Joined: Apr 12, 2009

un.gif

XXXXX



bump tounge.gif
I found it biggrin.gif
According to GTA3 sources, it must be called Collision Triangle Plane.
CODE
struct CColTrianglePlane
   CompressedVector normal;
   short someDistance; // also compressed
   char unk; // [0 - 5]
   char _pad;
};

I saw game used it when, for example, glass is breaking and we need to create particle with glass panes.

Any ideas what are "suspension lines" used for? I noticed they are calculated while processing vehicle physics.
Users WebsitePM
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG