how do i apply impulse to a local/single rigidbody2d?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By tproper

how do i apply impulse to a local/single rigidbody2d?

:bust_in_silhouette: Reply From: Alexandr

https://drive.google.com/open?id=16tn70jP2uuUefB6XSNMfflf1DaVa6r93
Look at it.

That helped but what made it work in the end was to for me to change:

_input_event(event)

to

_on_input_event(viewport, event, shape_idx)

Not sure why…but thanks.

tproper | 2018-10-15 18:38