Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   How do I...? (http://www.alice.org/community/forumdisplay.php?f=16)
-   -   knowing the size of an object? (http://www.alice.org/community/showthread.php?t=6060)

sfunk 03-05-2011 08:23 PM

knowing the size of an object?
 
okay, this is probably a newbie question to ask, but how can you figure out what the size of an object is on alice? i have cubes im using to make a health bar, and i cant get it to work since the size of the cubes are unknown to me, so all the increments i have the cubes move to make the healthbar work are all guess and check, is there a better way?

jediaction 03-05-2011 08:41 PM

Well, you never really know. Because it doesnt tell you exactly. It is valued 1 in the editor and can be resized from the resize method/function. Thats about it

sfunk 03-05-2011 08:43 PM

[QUOTE=jediaction;31735]Well, you never really know. Because it doesnt tell you exactly. It is valued 1 in the editor and can be resized from the resize method/function. Thats about it[/QUOTE]

okay, well i have been trying to use the objects orientation to give me an approximation of the objects size, but this number seems to be slightly off at times

jediaction 03-05-2011 08:48 PM

Well, Alice does its best

sfunk 03-05-2011 08:55 PM

yeah, even with its limitations in some areas, it is still a great tool to use

jediaction 03-05-2011 08:58 PM

Until a point in life where you are super good at it and you want to move on. I have already moved on, but I still help people everyday

sfunk 03-05-2011 09:04 PM

[QUOTE=jediaction;31744]Until a point in life where you are super good at it and you want to move on. I have already moved on, but I still help people everyday[/QUOTE]

well i appreciate the help you have given me very much. im just using alice as a hobby and to hopefully make working games for myself and friends to play, and eventually i want to be able to implement some formuals i know into the game, (i'm a high student who is taking calculus and physics so i know atleast some things)

x2495iiii 03-05-2011 10:30 PM

2 Attachment(s)
Wrong jedi. You can know exactly what the size is.

Also, you can set the size to whatever you want as well.

Examples and explanations below.

sfunk 03-05-2011 10:47 PM

[QUOTE=x2495iiii;31750]Wrong jedi. You can know exactly what the size is.

Also, you can set the size to whatever you want as well.

Examples and explanations below.[/QUOTE]

okay, i finally got it to work, for some reason, it kept saying everything was 0.0 when i clicked other, and it would go bck to opacity

jediaction 03-06-2011 07:50 AM

[QUOTE=x2495iiii;31750]Wrong jedi. You can know exactly what the size is.

Also, you can set the size to whatever you want as well.

Examples and explanations below.[/QUOTE]

I know that, thats why I said "Valued", but there is no really real way to know the size other than that, like size = 1


All times are GMT -5. The time now is 09:59 AM.

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