Pick additions: Group

Blitz3D Forums/Blitz3D Programming/Pick additions: Group

I can't remember if i posted this already, feel free to kick me if i did. WHile reading a topic, i remembered:

My idea is to have EntityGroup command.


OKAY so here comes my solution:

EntityGroup Entity,Group
Linepick entity,...........,[group] (to search only entities given a certain group)


This would allow you a LOT more control over each pick and alot more speed- which will alow for more tricks and stuff in AI and things.
I can't stress how much i needed this in recent weeks!


At the moment, When using the pick commands, it searches EVERY SINGLE entity with a pickmode, yes?
what if you have 24 cars and a terrain. (simple example)

each wheel of each car picks below it- and gets the terrain. at this point its also checking the other 24 cars. waste of speed.

The main speed issue: you may want to use the pick commands between cars (say, for user collisions and AI)... at this point, youre just doing a pick between cars. BUT, each pick also checks the polygons of the terrain!

Anyway, what does everyone else think of this?