Using EntityPick

Blitz3D Forums/Blitz3D Programming/Using EntityPick

Thanks PowerRC603.

I was trying the same type thing with moving the start point of the "EntityPick" but something really wierd happens even before that.

The FIRST object hit is a tree made from a cylinder and a pyramid.Just those 2 pieces with one recorded as the parent.So on the "hit" I get the position withEntityX(),EntityY(),etc.That works OK as I get the actual position which is -20,0,-470.This is a "hit" on the PARENT.

So now I raise the target line and hit the "child" which is a
part of the parent and I get a "hit" but the position is listed as 0,8,0.What the heck is this?

I thought maybe it had something to do with the origination position but that can't be it since if I raise the pair ,say +20,my next hit will show a position of something like 0,11,0.

Anyone got an idea?