.shp files
-
dearnhardtfan7
- Posts: 1095
- Joined: Sat Mar 22, 2008 2:05 am
- Team: Privateer
- Location: Trafford Alabama
.shp files
I have looked all over the forum and can't fine anything so I was wondering if someone could please explain to me what is the basis of the .shp collision files. i.e. which numbers represent what aspect of the object. I have tried changing some of the numbers to see where it is reflected in relationship to certain objects and I can't see where it changes the collision in the game. If someone could just explain the layout of the .shp file it would be greatly appreciated.
R.I.P. Jacob Nash #241
PSN-chrismri463

xfire--cmarona463
PSN-chrismri463

xfire--cmarona463
-
ddmx
- Posts: 5383
- Joined: Sun Apr 20, 2008 3:36 pm
- Location: Midland MI
-
dearnhardtfan7
- Posts: 1095
- Joined: Sat Mar 22, 2008 2:05 am
- Team: Privateer
- Location: Trafford Alabama
Re: .shp files
JLV or anyone else that knows, will the number of spheres in a collision file start to affect framerate? Say I have an object that I need to have alot of spheres. I'm talking like 70 or more. Will this affect framerate any? Thanks in advance
R.I.P. Jacob Nash #241
PSN-chrismri463

xfire--cmarona463
PSN-chrismri463

xfire--cmarona463
-
jlv
- Site Admin
- Posts: 15390
- Joined: Fri Nov 02, 2007 5:39 am
- Team: No Frills Racing
- Contact:
Re: .shp files
It will, but only when bikes are close to the object. Before the real collision test there is a test against a bounding sphere that would cover everything in the object. If the bike is touching that sphere it will then test against the real object.
-
DJ99X
- Posts: 15524
- Joined: Tue Jan 15, 2008 11:36 am
- Location: Land Down Under
Re: .shp files
70 spheres won't be much. I made a bridge with 10000 spheres, that crashed the game 