[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Monthly Archives]
[List Home]
Re: 'Temp Object' handling WAS Re: [Virtools] deleting copied objects
- Subject: Re: 'Temp Object' handling WAS Re: [Virtools] deleting copied objects
- From: "David Callele" <callele@cs.usask.ca>
- Date: Fri, 26 Oct 2001 14:33:38 -0600
A few comments:
1) Replace the 12 Curve Follow BBs with a Parameter Selector that feeds the
curve name into a single Curve Follow BB.
2) You don't appear to be using the Object pOut from Object Copy to keep
track of your temp object ID - is this the source of your issue?
3) Does the object need to be visible? If not, you would do better to use a
3D Frame and a different particle system.
4) Not sure what you are getting at with Rotate, Position on Curve,
Interpolator - all are in parallel and I suspect that they should be in
series... you should be careful when developing parallel paths within a
single script because the processing order may differ from what you expect
(see Chapter 23, Page 102 for details).
5) WRT deleting the temporary objects, is there a reason that you do not use
"Object Delete"? If necessary, you can store the pOut of the Object Copy in
a shortcut or attribute until it is needed (although I can't see why you
would need to) and then feed it into Object Delete when you need it.
Well, hope this helps :-)
David Callele
----- Original Message -----
From: "H.D. Case" <casemon@hotmail.com>
To: "David Callele" <d.callele@home.com>; "Virtools-User-Group (E-mail)"
<virtools-user-group@lists.theswapmeet.com>
Sent: Friday, October 26, 2001 11:40 AM
Subject: 'Temp Object' handling WAS Re: [Virtools] deleting copied objects
> I guess what we're talking about is Temp Objects for a scene, objects that
> serve to pass along variables during their lifespan then are discarded.
Ok,
> attached is a JPG of the behavior graph I've created utilizing the current
> method. The image (hopefully) serves to show how i'm attempting the 'spawn
> temp object / discard' behavior currently, as well as how laughable my
> Virtools scripting ability is. =) The links don't really show up well as
> there are many, so i added comments to take you through it.
>
> An example of a game that would benefit from 'temp object' handling might
be
> Tetris, where the spawn of each piece (assuming a random spawn function)
is
> not undetermined until runtime, thus the total number of required pieces
of
> a single piece type is unknown.
>
> thank you for all the help, i hope these are not TOO basic of issues. i
> study the help and associated documentations and i'm picking this up
pretty
> quickly but some things don't resolve in my mind just yet.
>
> hdc
>
> ----- Original Message -----
> From: "David Callele" <d.callele@home.com>
> To: "H.D. Case" <casemon@hotmail.com>; "Virtools-User-Group (E-mail)"
> <virtools-user-group@lists.theswapmeet.com>
> Sent: Friday, October 26, 2001 03:15 PM
> Subject: Re: [Virtools] deleting copied objects
>
>
> > A jpg might help but, if I understand correctly, might I suggest adding
> the
> > objects to a Group as they are created then using a Group Iterator to
find
> > them later for the removal process. And, it works for a Group with only
a
> > single object.
> >
> > Hope this helps,
> >
> > David Callele
> >
> >
> > ----- Original Message -----
> > From: "H.D. Case" <casemon@hotmail.com>
> > To: "David Callele" <d.callele@home.com>; "Virtools-User-Group (E-mail)"
> > <virtools-user-group@lists.theswapmeet.com>
> > Sent: Friday, October 26, 2001 3:25 AM
> > Subject: Re: [Virtools] deleting copied objects
> >
> >
> > > the names are indeed unique, but that is part of the "problem". to
> delete
> > > the copied object, i must specify the name (linking in Object Delete
BB
> > > after copying isn't possible as it doesn't function without the
specific
> > > name of the object to delete) and the name is never the same. the
Object
> > > Copy BB doesn't appear to have the new unique name as an output
> parameter
> > to
> > > link to the Delete Object BB.
> > >
> > > given that it is a unique name, i seemingly have no way to specify (as
> the
> > > name will change as the process loops) which object to delete.
> > >
> > > one 'work-around' is to create the total number of objects as i need
and
> > > just go from there, but there are currently 96 possible permutations
and
> i
> > > wish to keep the file size slim as web is a target platform.
> > >
> > > does my description of the problem make any sense? if not, i'll
include
> a
> > > .jpg of the script.
> > >
> > > hdc
> > >
> > > ----- Original Message -----
> > > From: "David Callele" <d.callele@home.com>
> > > To: "H.D. Case" <casemon@hotmail.com>; "Virtools-User-Group (E-mail)"
> > > <virtools-user-group@lists.theswapmeet.com>
> > > Sent: Friday, October 26, 2001 01:22 AM
> > > Subject: Re: [Virtools] deleting copied objects
> > >
> > >
> > > > I believe that the names are unique... at least they alwyas have
been
> > when
> > > I
> > > > used these BBs.
> > > >
> > > > David Callele
> > > >
> > > > ----- Original Message -----
> > > > From: "H.D. Case" <casemon@hotmail.com>
> > > > To: "Virtools-User-Group (E-mail)"
> > > > <virtools-user-group@lists.theswapmeet.com>
> > > > Sent: Tuesday, October 23, 2001 12:37 PM
> > > > Subject: [Virtools] deleting copied objects
> > > >
> > > >
> > > > > I'm using Object Copy BB to copy an object then I have it follow a
> > > Curve.
> > > > I
> > > > > wish to delete the copied object when it reaches the end of the
> curve.
> > > > >
> > > > > This is basically a loop. I can then re-use the schematic on
several
> > > > curves
> > > > > using only one version of the Object.
> > > > >
> > > > > Is there a way to delete the copied object automagically at the
end
> of
> > > the
> > > > > loop (on Curve Follow - Out) without knowing it's name? As
Virtools
> > does
> > > > the
> > > > > naming when the object is copied, the name will change depending
on
> > the
> > > > > number of Curves that have Copied Objects on them. Or should I use
> > > Object
> > > > > Rename and have each curve be hardcoded? Do either, ObjectCopy or
> > Object
> > > > > Rename, ensure only unique names are made?
> > > > > ...............................................................
> > > > > Distributed via the virtools-user-group list:
> > > > http://www.theswapmeet.com/numl.html
> > > > > To reply to the list instead of its author, use "Reply to All"
> > > > > To unsubscribe: send "unsubscribe virtools-user-group" to
> > > > Majordomo@lists.theswapmeet.com
> > > > > To subscribe: send "subscribe virtools-user-group" to
> > > > Majordomo@lists.theswapmeet.com
> > > > > To post a message: send it to
> > virtools-user-group@lists.theswapmeet.com
> > > > > ...............................................................
> > > >
> > > > ...............................................................
> > > > Distributed via the virtools-user-group list:
> > > http://www.theswapmeet.com/numl.html
> > > > To reply to the list instead of its author, use "Reply to All"
> > > > To unsubscribe: send "unsubscribe virtools-user-group" to
> > > Majordomo@lists.theswapmeet.com
> > > > To subscribe: send "subscribe virtools-user-group" to
> > > Majordomo@lists.theswapmeet.com
> > > > To post a message: send it to
> virtools-user-group@lists.theswapmeet.com
> > > > ...............................................................
> >
> > ...............................................................
> > Distributed via the virtools-user-group list:
> http://www.theswapmeet.com/numl.html
> > To reply to the list instead of its author, use "Reply to All"
> > To unsubscribe: send "unsubscribe virtools-user-group" to
> Majordomo@lists.theswapmeet.com
> > To subscribe: send "subscribe virtools-user-group" to
> Majordomo@lists.theswapmeet.com
> > To post a message: send it to virtools-user-group@lists.theswapmeet.com
> > ...............................................................
>
...............................................................
Distributed via the virtools-user-group list: http://www.theswapmeet.com/numl.html
To reply to the list instead of its author, use "Reply to All"
To unsubscribe: send "unsubscribe virtools-user-group" to Majordomo@lists.theswapmeet.com
To subscribe: send "subscribe virtools-user-group" to Majordomo@lists.theswapmeet.com
To post a message: send it to virtools-user-group@lists.theswapmeet.com
...............................................................
Follow-Ups:
References: