Maybe an odd question but...
I am using linepick to determine whether the man is near to surrounding objects. If so then the followcamera distance changes to allow hom to rotate without the camera cutting through walls etc.
It works very well except coding gets a bit tedious when entering a lot of objects.
eg
if p1=level1 then cameradistance =-2
if p1=door then cameradistance =-2
and so on.
As there are a lot of meshes, is there a way to reference all of them as a "group" so that level1 and door and door1 and door2 etc can be entered as a single paramater in the above command.
I am using linepick to determine whether the man is near to surrounding objects. If so then the followcamera distance changes to allow hom to rotate without the camera cutting through walls etc.
It works very well except coding gets a bit tedious when entering a lot of objects.
eg
if p1=level1 then cameradistance =-2
if p1=door then cameradistance =-2
and so on.
As there are a lot of meshes, is there a way to reference all of them as a "group" so that level1 and door and door1 and door2 etc can be entered as a single paramater in the above command.