[DM] Block to detect collision at a certain point

Alexin

  • *
  • Posts: 3130
The approach I've taken tests a point against a shape, which should be as fast (if not faster) than testing two shapes.

@Chris
Yes, but is there any particular reason you're offsetting by 1?
"Find the fun"
alexin@stencyl.com

Chris

  • Posts: 84
No reason. Just making sure I get how to use it.

Joe

  • *
  • Posts: 2480
A sample game is attached with two simple behaviors. Actor Picker is a Scene behavior and is the one that does the real job. Actor Picker Test shows you how to use Actor Picker; take a look at it. Toggle the console and click around the screen to get feedback.

Let me know if you need help.

Thanks for pointing out that ray casting method. I'm using your Code Mode Behavior to help Derek.