0 votes

Can I dynamically create player/randomly/procedural defined RigidBodies (2d and 3d), Collisions, Sprites, and Shapes with in-game editable attributes at the location of a mouse click?

I am working on a simulator game project similar to SimLife, SimEarth, SimAnt and a little Spore as well and I like godot, I'm just not sure if godot is best suited for that.

in Engine by (14 points)
edited by

1 Answer

0 votes

I am quite new to godot aswell but I think I have learned somethings:

  1. In 3d you could use a raycast where the camera is and then create a meshinstance or whatever you need there.
  2. In 2d you can use your mouse position
  3. For procedural 3d meshes you can create a new mesh, and use the SurfaceTool(check the docs) to generate a mesh and assign it to your object.
by (25 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.