Skip to content

Actually fix "island should be awake" for good, I swear this one works#937

Open
lap2ka wants to merge 1 commit into
ryanhcode:mainfrom
lap2ka:main
Open

Actually fix "island should be awake" for good, I swear this one works#937
lap2ka wants to merge 1 commit into
ryanhcode:mainfrom
lap2ka:main

Conversation

@lap2ka
Copy link
Copy Markdown
Contributor

@lap2ka lap2ka commented May 18, 2026

wakey wakey from island manager
image

Copilot AI review requested due to automatic review settings May 18, 2026 13:50
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes the wake-up logic for rigid bodies by routing the wake call through the Rapier IslandManager instead of calling wake_up directly on the rigid body. The direct call doesn't notify the island manager, so bodies wouldn't actually resume simulation; using island_manager.wake_up ensures the body is properly re-included in the active island set.

Changes:

  • Replace direct RigidBody::wake_up call with IslandManager::wake_up in the JNI wakeUp binding.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lap2ka
Copy link
Copy Markdown
Contributor Author

lap2ka commented May 18, 2026

Fixes #15 #431

@IThundxr
Copy link
Copy Markdown
Collaborator

PRs should not include the built natives

@lap2ka
Copy link
Copy Markdown
Contributor Author

lap2ka commented May 18, 2026

sorry about that

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.

4 participants