Topic: Animation and hidden box

Okey, so im new to maratis so forgive me if putting this to wrong place (and if its silly question) big_smile

Anyway,
If i create a object, which has animation (for example human walking when pressing button),
and i make box to cover the hand/arm, does the box move according the animation when human is walking..
If not, how should i do it big_smile

So, reason for this is that i could check where person is shot.

Again, sorry if its too silly question big_smile

Re: Animation and hidden box

TO check for what you want, would require collision I imagine:

http://wiki.maratis3d.org/index.php?tit … lisionTest , is what you want ?, which when 'shot' was indicated,  would do the following:

http://forum.maratis3d.com/viewtopic.php?id=565 , looks like what you are after, even if I most definitely do not yet understand anael's respond in its entirety wink

I'm not the best person to answer this given I barely program, but trying to help or at least put you on the right path.

cu
gm

Re: Animation and hidden box

Why not experiment yourself? get a free animation from blendeswap export it to maratis , and do the box thingy ? why not try it out.
Not to sound rude i cannot understand the question but i get the gist so i am not gonna reply if its possible Somebody else can help you out but i would say try it yourself not that hard , and if you fail post here we will help you out big_smile

Last edited by Crucio777 (2013-03-16 10:33:11)

Re: Animation and hidden box

Crucio777 wrote:

Why not experiment yourself? get a free animation from blendeswap export it to maratis , and do the box thingy ? why not try it out.
Not to sound rude i cannot understand the question but i get the gist so i am not gonna reply if its possible Somebody else can help you out but i would say try it yourself not that hard , and if you fail post here we will help you out big_smile

Sorry big_smile dunno how to explain it better. (bad english also so big_smile )
I just making player with animation on it, and want to see where person is hit when someone is shooting. So was thinking putting some boxes around hands etc to check collision(/or rayhit), but was just thinking if i make animation (hand move, leg move) does the box also move according where its located (moving according hand) or is it moving according central point of the player.

I did experiment big_smile and the boxes are moving according the central point of the player (which makes sense...) .

Thanks for answers tho smile

but i think i can make different kind of solution for this anyway smile
Still learning LUA and what i can make with it (and Maratis), but anyways thanks smile