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

2.5D Demo: How to create a reusable scene that uses Node25D? #1157

Open
ConnorDY opened this issue Jan 20, 2025 · 1 comment
Open

2.5D Demo: How to create a reusable scene that uses Node25D? #1157

ConnorDY opened this issue Jan 20, 2025 · 1 comment

Comments

@ConnorDY
Copy link

Let's say I wanted to modify the 2.5D demo project and save the "Platform0" branch as a Scene that I could re-use in other places.
How would I do this?

I'd like to create a re-usable platform that I can place multiple times in the same level but with different spatial positions.
The issue I'm running into is that every instance of the Platform scene ends up in the same position.

I've been trying to figure this out on my own and just can't figure out how to do it.
Would appreciate any help I can get here. 🙂

@ConnorDY ConnorDY changed the title 2.5D: How to create a reusable scene that uses Node25D? 2.5D Demo: How to create a reusable scene that uses Node25D? Jan 20, 2025
@aaronfranke
Copy link
Member

You can instantiate your scene then either use the spatial_position property, or use "Editable Children" to set the position of the child Node3D.

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

No branches or pull requests

3 participants