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

3D physics examples #53

Open
aglitchman opened this issue Oct 19, 2024 · 6 comments
Open

3D physics examples #53

aglitchman opened this issue Oct 19, 2024 · 6 comments

Comments

@aglitchman
Copy link
Contributor

Now the project with examples is built as one big game and accordingly all examples have the same project settings. This means that physics is strictly 2D.
How to start adding 3D physics examples? Maybe it's possible to switch to 3d physics with command line arguments, like it's done with bootstrap collection?

@britzl
Copy link
Contributor

britzl commented Oct 19, 2024

Yeah, we have talked about splitting up the examples into multiple sub projects to allow for more freedom when creating examples, especially within the render script.

It should be possible to change the game.project setting though like you suggest though!

@aglitchman
Copy link
Contributor Author

The idea is fail:

image

@aglitchman
Copy link
Contributor Author

I was going to add examples like object picking (in 3d), third-person controller, etc. Hm.

I think that 2d and 3d physics is the only thing that can stop the project from building, so it will be enough to split the project with examples into two:

  • current project is for 2d examples
  • new project is for 3d examples (and move there examples: unlit, screen space etc).

@aglitchman
Copy link
Contributor Author

Related - https://discord.com/channels/250018174974689280/954383800840892426/1278457265292312677

Examples don't really help since they are separated from the manual and the downloadable examples embed everything at once (it's very hard to find the example collection I'm looking for when everything is in the same project) (and doesn't run in current version of Defold because of some spine example).

Looks like the examples are hard to use when they are in one big project?

@AGulev
Copy link
Contributor

AGulev commented Nov 6, 2024

I'm fine with splitting examples into isolated projects, but I don't have time to do it myself =)))

@aglitchman
Copy link
Contributor Author

I'm fine with splitting examples into isolated projects, but I don't have time to do it myself =)))

In fact, it's simple to split everything. The hardest part is modify CI to build examples to separate folders and link together with the website.

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

No branches or pull requests

3 participants