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

Deprecate ImmediateGeometry #57345

Closed
wants to merge 1 commit into from
Closed

Deprecate ImmediateGeometry #57345

wants to merge 1 commit into from

Conversation

Watunder
Copy link

  • Removed ImmediateGeometry.
  • Replaced by ImmediateMesh resource.

* Removed entirely from RenderingServer.
* Replaced by ImmediateMesh resource.
* ImmediateMesh replaces ImmediateGeometry, but could use more optimization in the future.
* Sprite3D and AnimatedSprite3D work again, ported from Godot 3.x (though a lot of work was needed to adapt them to Godot 4).
* RootMotionView works again.
* Polygon3D editor works again.
@Watunder Watunder requested review from a team as code owners January 28, 2022 10:37
@Watunder Watunder closed this Jan 28, 2022
@gerrywastaken
Copy link

@Watunder I can't figure out which node type allows instantiation of ImmediateMesh and the latest docs do not seem to say either. Any idea? (alpha 8)

Script inherits from native type 'ImmediateMesh', so it can't be instantiated in object of type: 'MeshInstance3D'

@Calinou
Copy link
Member

Calinou commented Jun 8, 2022

@gerrywastaken This is a pull request that was opened by mistake. See #50014 for the actual change.

ImmediateMesh is a resource, not a node. Therefore, you can't add a script to it. However, you can assign an ImmediateMesh resource to a MeshInstance3D node, and add a script to the MeshInstance3D node as usual.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants