Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Suggestion Box (http://www.alice.org/community/forumdisplay.php?f=26)
-   -   rectangle or box with modifiable height width and depth (http://www.alice.org/community/showthread.php?t=11820)

chickentree 11-04-2017 06:53 PM

rectangle or box with modifiable height width and depth
 
Is it possible to create an object that has modifiable height, width and depth ratios? The current objects allow resizing but only of the whole object, as far as I can tell there is no way to make something like a box which is a given height but wider or narrower the given box.

Such an object would be great for things like collision detection within objects.
As one example, having a parachutist land on the deck of the aircraft carrier is difficult because the deck is not an accessible subobject, but If I could create a box of the right size and overlay it on the carrier deck then I could use the new object to either direct an object to the deck or to determine if the object reached its goal.
I would be interested in other ways to accomplish something like this but the modifiable box is what comes to mind when I try to program a problem like this in Alice.

Mark

DensetsuNoKaboom 11-14-2017 06:00 PM

The "resize" method has a "dimension" parameter which lets you resize the object from top to bottom, front to back, or side to side. That may be useful for you. However, I don't know of any way to do it in the editor, which would be a really handy thing to have.

chickentree 11-20-2017 05:33 PM

[QUOTE=DensetsuNoKaboom;57728]The "resize" method has a "dimension" parameter which lets you resize the object from top to bottom, front to back, or side to side. That may be useful for you. However, I don't know of any way to do it in the editor, which would be a really handy thing to have.[/QUOTE]

Thanks! I never knew those options existed. I wonder how many other options are available but unknown.

Mark


All times are GMT -5. The time now is 04:10 AM.

Copyright ©2018, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.