Context menus and deleting objects
"Marcin Pilat" <[email protected]>
| Newsgroups | gmane.comp.breve |
|---|---|
| Message-ID | <000001c3b4b3$87c16510$6601a8c0@dabear> |
I have a few questions. 1) I've tried to create a context menu for an object using "add-menu". When I right click on the object, I get the main application menu instead. Am I doing something wrong or object context menus are not supported in the windows version? I do succeed in adding onto the main context menu by calling "add-menu" through the controller. 2) Is it safe to call "free self" or does that create any problems? I run into a problem with freeing an object that had scheduled a function call (using the "schedule" method). How can I disable/unscheduled this method call? Right now, when the method gets called, the application crashes with error "method <name> being called with freed object". 3) This is a tricky question. Would it be possible to set the parameters of the physics engine so that a linear arrangement of object (lets say spheres) becomes a multi-layered arrangement (basically 2d->3d) due to a force applied to the objects? I'm doing a simulation where I would like to push spherical objects up (stocking them) by applying forces to an array of objects in a plane. Any help would be greatly appreciated. Thanks, Marcin _______________________________________________ breve mailing list [email protected] http://www.spiderland.org/mailman/listinfo/breve