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 2,464 Dec 26, 2011 12:30 PM
Last Post: zenkimoto
  Finding an object by name markhula 2 3,911 Mar 29, 2011 08:08 AM
Last Post: markhula
  Finding the height of a point on a given list of vertexes? mikey 10 4,345 Jan 4, 2010 05:36 AM
Last Post: mikey
  Finding Outer Vertices of Shapes Nick 18 7,605 Nov 27, 2006 07:01 AM
Last Post: Nick
  Closest Point on Polygon Boundry unknown 3 5,123 Sep 2, 2006 03:46 PM
Last Post: memon