Home Tutorials Download Beta Store Forum Documentation KnowledgeBase Wiki Blog

ShiVa3D

Return to Wish list

get an object by it's name ( getObjectByName )

You need some features? ask it to us here!

get an object by it's name ( getObjectByName )

Postby mal_CanDo » 27 May 2009, 11:14

Hi there,

It would be great if you could get an object by using just it's name ( eg scene.getObject or scene.getObjectByName ). This is something that most people will try to do fairly on in their Shiva testing - having to tag an object, and then use scene.getObjectByTag, is more complicated and also takes longer to set up ( you have to go through each object in the scene that you want to reference and set a tag on it - if you have imported a scene with hundreds of objects, this is an issue ).

Does this function already exist ( I'm new to Shiva ), or is there a reason it hasn't been implemented?

Mal
mal_CanDo
Gold Boarder
Gold Boarder
 
Posts: 206

Return to Wish list

cron