This is really basic, but i cant figure it out.
How do i respond to sensors?
I have a ball and some walls. I can get contact events when a ball hits a wall. So next i tried to make a sensor but i cant figure how to listen for these in a similar way. I have set isSensor to true on the sensor shape, and i have also set report begin/end to true.
Thanks
How do i respond to sensors?
I have a ball and some walls. I can get contact events when a ball hits a wall. So next i tried to make a sensor but i cant figure how to listen for these in a similar way. I have set isSensor to true on the sensor shape, and i have also set report begin/end to true.
Thanks