Skip to content

Conversation

@szymonsuchanowski
Copy link
Contributor

After setting frustumCulled to false, the Keppler Particles do not disappear when the Sun (point [0, 0, 0]) is out of the presentation.

Comment on lines +194 to +197

if (this.get3jsObjects() && this.get3jsObjects()[0]) {
this.get3jsObjects()[0].frustumCulled = false;
}
Copy link
Owner

Choose a reason for hiding this comment

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

Would it be sufficient to set this.particleSystem.frustumCulled = false?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hi again ✋ I checked on a few examples and this change (this.particleSystem.frustumCulled = false) was sufficient to prevent disappearing of particles

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