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)

x2495iiii 03-06-2011 04:01 PM

[QUOTE=jediaction;31755]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[/QUOTE]

And I'm saying that's wrong. The object's dimensions (length, width, or height) can be seen with other methods besides the one listed above, and can be set to whatever you want with this formula:

Object resize (1 / (object's dimension)) * (whatever size you want it to be)

Size can be manipulated or monitored as easily as any other dynamic property in Alice, like distance between objects or spatial relation.

jediaction 03-06-2011 04:50 PM

really? ok

reuben2011 03-06-2011 06:00 PM

or you can do something like set a certain variable to the width and watch the variable while the world is running. Then you can see the actual value of the object's width/height/length/whatever.

arty-fishL 03-06-2011 06:08 PM

1 Attachment(s)
Or you can use the Alice ruler that was made by [URL="http://www.alice.org/community/member.php?u=12364"]DensetsuNoKaboom[/URL] ([URL="http://www.alice.org/community/showthread.php?t=5734"]here)[/URL]. Just import it as a billboard.

David B 03-06-2011 10:11 PM

This is kind of off topic, but you said that you are trying to make a health bar. If you want to skip the hassle of making your own, you can download mine [URL="http://www.alice.org/community/attachment.php?attachmentid=4272&d=1299290485"]here[/URL].

sfunk 03-06-2011 10:12 PM

[QUOTE=arty-fishL;31809]Or you can use the Alice ruler that was made by [URL="http://www.alice.org/community/member.php?u=12364"]DensetsuNoKaboom[/URL] ([URL="http://www.alice.org/community/showthread.php?t=5734"]here)[/URL]. Just import it as a billboard.[/QUOTE]

i found that x2495iiii method is the easiest and less time consuming method so far

sfunk 03-06-2011 10:13 PM

[QUOTE=David B;31828]This is kind of off topic, but you said that you are trying to make a health bar. If you want to skip the hassle of making your own, you can download mine [URL="http://www.alice.org/community/attachment.php?attachmentid=4272&d=1299290485"]here[/URL].[/QUOTE]

well thanks for the offer, but i already got mine to work, it was just the uncertaintity of know the actual size of an object, but once i figured out how to find the size, i was able to make my method pretty perfect for a health bar, but thank you anyways sir

David B 03-06-2011 10:17 PM

[QUOTE=David B;31828]This is kind of off topic, but you said that you are trying to make a health bar. If you want to skip the hassle of making your own, you can download mine [URL="http://www.alice.org/community/attachment.php?attachmentid=4272&d=1299290485"]here[/URL].[/QUOTE]

[QUOTE=sfunk;31830]well thanks for the offer, but i already got mine to work, it was just the uncertaintity of know the actual size of an object, but once i figured out how to find the size, i was able to make my method pretty perfect for a health bar, but thank you anyways sir[/QUOTE]

Okay then. I just thought I would extend you the offer.

P.S.: Wow! You responded quickly!

sfunk 03-06-2011 10:52 PM

[QUOTE=David B;31832]Okay then. I just thought I would extend you the offer.

P.S.: Wow! You responded quickly![/QUOTE]

i just happened to log on at the right time, between doing calculus and typing an english paper! XD

David B 03-06-2011 10:58 PM

[QUOTE=sfunk;31838]i just happened to log on at the right time, between doing calculus and typing an english paper! XD[/QUOTE]

Ahh. Kind of stinks to have to need to do your homework over the weekend. I hope you get an A+ on both!


All times are GMT -5. The time now is 10:38 PM.

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