I would perhaps do the collision detection 'outside' of clutter maybe with some kind of offscreen 1 bit mask representing the track. A very specific solution like this is going to be faster than very general clutter solutions.
== Matthew On Thu, 2008-07-24 at 15:53 +0300, Kaj Grönholm wrote: > Hey all, > > Updated myself with the improvements in 0.8 yesterday, with a twist to > see how well Clutter would suit (action) game development, see: > http://kgronholm.blogspot.com/2008/07/clutteroad.html > > Haven't really done any game programming since 90's so please bare > with me =) So far didn't find anything else which couldn't be solved > with some work, except tracking that car stays in road and adapts into > environment. So any ideas on what would be nicest way to do this > "collision detection" with Clutter? Any new API ideas in there, maybe > it would be possible to improve picking code and add extra boolean > parameter in clutter_stage_get_actor_at_pos() to ignore totally > transparent parts of actors? > > > - Kaitsu - > -- To unsubscribe send a mail to [EMAIL PROTECTED]
