Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround for Skycrate deletion #424

Conversation

fastdelaspeed
Copy link
Contributor

@fastdelaspeed fastdelaspeed commented Oct 23, 2024

Comments out not-working function to create a gravity block at entity location and instead drops crate as an item. Couldn't get the block drop method to work. There was a typo which I fixed, however, the falling crate block disappears when it hits the ground.

In addition to using the item drop method, the position is changed to be beneath the Skycrate post. If you want, you can modify line 120 to instead be -1; this would put it inside the Skycrate post collision when created, which you can pretend it is a sort of "explosion".

Resolves #367

Showcase:
Desktop 2024.10.23 - 19.37.33.01.webm

Comments out not-working function to create a gravity block at entity location and instead opts to drop crate as an item.
Copy link
Contributor

@Avalon2106 Avalon2106 left a comment

Choose a reason for hiding this comment

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

Comments out the physical skycrate box entity from existing off the lines (entity physics suck to do, so I totally get it lol)

Changed item drop to happen at the position of skycrate box.

Changes match what was shown in the PR, making it as approved and ready for merge

@Pabilo8 Pabilo8 merged commit 3b9b474 into Team-Immersive-Intelligence:dev/avalon/main Oct 28, 2024
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants