Mailing List
Home
Forum Home
Softimage
Carrara
trueSpace
Dir3d-l
Maya - a powerful 3D animation and visual effects software
Macromedia Flash Development
Subjects
Cameras
scaleDown command
black out solved
Aircraft Tutorial
Mathematical XYZ ?
Its done This vs That
Its done first week
recommendations for screen video captures?
3DExplorer "Oddity "
New Director
ProTeam renewals
Fuel 's new websites (X post)
Blue peter create a make toy
targeting groups question
XPost: Shockwave 3D game ( sort of )
RES: RES: RES: Fish Modeling
Emitting particles from object intersection
Fuel 's new websites (X post)
Texturing
Big Break Contest Videos
New Plugins
Models and Texture on my updated site
Error Installing Patch tS6 6
Plasma?
Looking for Inspiration
Weird EMail Q
It 's done first week ?
Cherry not cranberry
New game
Camera Animation Problem
Particle plugins?
 
Script question please

Script question please

2004-04-07       - By Ludovick W Michaud

 Back
Reply:     1     2  

Well you could go through all the object of the scene and check their
value, when they match the values you are looking for than logmessage
the name of the object found.

For Instance.

For each oObj in oRoot.FindChildren
  if (oObj.kine.global.pox == 1 && oObj.kine.Global.posy == 1 &&
oObj.kine.Global.posz == 0) then
    Logmessage oObj.Name
  end if
next

I haven't tested the syntax, this is just out of memory so you might
have to look up a bit the values if it doesn't work at first try.

Hope this helps.

Ludo

On Wed, 2004-04-07 at 12:26, Fabrice Altman wrote:
> Hi list,
>  
> if  I know an object center is at global 1,1,0 for example,
> can a little VB  'magic' return it's name ?
>  
> Thanks
> F.


---
Unsubscribe? Mail Majordomo@(protected) with the following text in body:
unsubscribe xsi