Pick additions: Group

Blitz3D Forums/Blitz3D Programming/Pick additions: Group

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You can do it already,

Function newGroup()
   return createpivot()
end function

function addEntity(group,entity)
   entityParent entity,group
end function

function GroupCollision(Group,Enable)
   if enable showEntity group else hideEntity group
end function



hiding the group pivot, hides all it's children, also culling them from any collision tests.