godot_box2d icon indicating copy to clipboard operation
godot_box2d copied to clipboard

Listen to Global Transform Change notifications

Open jasonwinterpixel opened this issue 2 years ago • 2 comments

Use set_notify_transform() instead of set_notify_local_transform().

jasonwinterpixel avatar Oct 18 '22 22:10 jasonwinterpixel

You can merge this straight into winterpixelgames:winterpixel-main. LGTM

Side-note, I could have sworn there were situations where I wrote:

set_notify_local_transform(false);
// do something
set_notify_local_transform(true);

But I don't see them now. Curious.

brianwinterpixel avatar Oct 19 '22 04:10 brianwinterpixel

You did it for kinematic bodies using set_notify_transform.

On Tue, Oct 18, 2022, 10:14 p.m. Brian Semrau @.***> wrote:

You can merge this straight into winterpixelgames:winterpixel-main. LGTM

Side-note, I could have sworn there were situations where I wrote:

set_notify_local_transform(false);// do somethingset_notify_local_transform(true);

But I don't see them now. Curious.

— Reply to this email directly, view it on GitHub https://github.com/briansemrau/godot_box2d/pull/76#issuecomment-1283399116, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS2HDAON3YFD2GYRVSGTI5TWD5YTHANCNFSM6AAAAAARIQRICY . You are receiving this because you authored the thread.Message ID: @.***>

jasonwinterpixel avatar Oct 19 '22 04:10 jasonwinterpixel