anmaton & collision question

how can i check " is an animation for object blabla playing ?"
or does not play an animation if an animation did not finish to play for object blabla.


if(entries->size()>0 && entries->front()->get_into_node()->get_name() == “tree_1”)

i have a few objects tree_1 , tree_2 , tree_n
i need to check if “tree_*” was detected

You can use the C++ function substr to get the first N characters from the string that is returned by get_name(), or you can use the C function strncmp to compare the first N characters of the string.

thanks rdb

Nice surprise about this shorter form. Can you tell us what it is you are talking/writing about?
Has any info. about this shorter form been posted before (and i just missed it)?
:arrow_right: :unamused: