Shooting a gun with rays (no python)

Probably not the best way to do it, but there’s no python so it’s easier for most people.

Nice,

but I would open a gamelogic simple.


if sens.positive:
    if 'health' in sens.hitObject:
        sens.hitObject['health']+=(-5)

Yeah, that’s probably the far more effective, I just stumbled upon this while working on my game and thought I would upload it :slight_smile: