Page 1 of 1

combo pattern detection

Posted: Mon Nov 12, 2012 7:47 am
by Phippu
Is there any way to detect specific motion patterns, i.e I have an entity and I want to detect if that entity has made a "360", a flip or anything like this? To be more specific I want to detect if an entity was rotated by 360 degree in a specific time about a specific axis. The purpouse of this is to detect if combo has performed, i.e if the entity is a car or a boat. I am not sure if this realy belongs in here, but maybe someone has a good idea on how to detect combos :P

Thx!

Re: combo pattern detection

Posted: Mon Nov 12, 2012 6:04 pm
by Norbo
There's nothing in the engine that would do that automatically. The best bet is to create some trackers externally that watch the state of entities over time. All of the combo logic would go into those trackers. Multiple trackers could be scanning the state stream at the same time to pile up various kinds of combos.