Skip to content

[4.0] Use Global Transform Changed Notification#77

Open
jasonwinterpixel wants to merge 1 commit intobriansemrau:4.0from
winterpixelgames:4-use-global-transform-changed
Open

[4.0] Use Global Transform Changed Notification#77
jasonwinterpixel wants to merge 1 commit intobriansemrau:4.0from
winterpixelgames:4-use-global-transform-changed

Conversation

@jasonwinterpixel
Copy link
Copy Markdown

Use set_notify_transform() instead of set_notify_local_transform().

case NOTIFICATION_ENTER_TREE: {
last_step_xform = get_box2dworld_transform();
}

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This case here is doing a fall through which looks perhaps unintentional?

@brianwinterpixel
Copy link
Copy Markdown

don't worry about the 4.0 branch. It's probably totally broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants