Finding the closest point to (x1,y1) in array of [x1,y1,z1,x2...

Member
Posts: 281
Joined: 2009.04
Post: #16
I could make another map file for the physics... Which is a regular grid...

~ Bring a Pen ~
Quote this message in a reply
Member
Posts: 749
Joined: 2003.01
Post: #17
You could use pointers to your vertices in the "squares" if you want to save some memory. But seriously even if you have a million vertices that would only amount to a few MB of ram.

Or yeah, use a regular grid if that's possible, it's much faster.

©h€ck øut µy stuƒƒ åt ragdollsoft.com
New game in development Rubber Ninjas - Mac Games Downloads
Quote this message in a reply
Member
Posts: 281
Joined: 2009.04
Post: #18
OK then Najdorf, I didn't realise. Thankyou lots Najdorf and everyone. I might use Skorche's Technique for projectile col.dec..

~ Bring a Pen ~
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  finding a training center - Heeeelp Glauter 1 3,018 Dec 26, 2011 12:30 PM
Last Post: zenkimoto
  Finding an object by name markhula 2 4,622 Mar 29, 2011 08:08 AM
Last Post: markhula
  Kind of a noob question - finding artwork within my .app?? Nethfel 2 2,860 Mar 8, 2010 08:00 AM
Last Post: AndyKorth
  Finding the height of a point on a given list of vertexes? mikey 10 5,439 Jan 4, 2010 05:36 AM
Last Post: mikey
  Finding Outer Vertices of Shapes Nick 18 8,726 Nov 27, 2006 07:01 AM
Last Post: Nick