View Full Version : invulnerable object
thatoneguy 10-15-2007, 10:35 PM Is it possible to make an object undeletable except through a script? I want to create a gizmo (Box that can be rescaled but not deleted on accident.)
|
|
marktsang
10-16-2007, 02:35 AM
simply.... NO
unfortunatly not...... get onto autodesk about it, many others have also - enough voices may lead to implementation
mark
focomoso
10-16-2007, 07:30 AM
Totally off the top of my head here, but a work around might be to simply recreate the object on deletion (via a call back or the on delete function in a scripted plugin). Could be totally wrong here...
thatoneguy
10-16-2007, 08:52 AM
I thought about a callback but it would have to be active 'all day' which would be a potential memory leak/bloat/inefficient use of system resources.
It could probably be done through the SDK. Maybe we just need to pester someone to create the invincible cube object. ;)
My interim solution is going to be to store the gizmo dimensions and then recreate it when requested by the user. In some ways I actually like the idea of the gizmos only being created when "in the interface" so to speak anyway. Keeps the scene less bloated. When the rollout is called up I'll create the gizmos and when the rollout is destroyed delete them. I think that might be the best compromise...
CGTalk Moderation
10-16-2007, 08:52 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.