walkthrough:
set a vector3 called base where the player is pointing and clicks
set another vector 3 height at the players cursor after they decide where the first point is
keep updating the vectors position while moving, use the first vectors x and z + the second vectors y coordinates to visualize the height of the box. (limit the height to about a meter aka 1 unit)
after the player makes those, have the player set a width vector3, then a depth vector 3. all of these should be enough to create a mesh with those vectors.
limitations: limit the size of the box to 1 meter to start. Try to make the maximum size easy to change.
walkthrough: set a vector3 called
base
where the player is pointing and clicks set another vector 3height
at the players cursor after they decide where the first point is keep updating the vectors position while moving, use the first vectors x and z + the second vectors y coordinates to visualize the height of the box. (limit the height to about a meter aka 1 unit) after the player makes those, have the player set awidth
vector3, then adepth
vector 3. all of these should be enough to create a mesh with those vectors.limitations: limit the size of the box to 1 meter to start. Try to make the maximum size easy to change.
docs: https://docs.godotengine.org/en/stable/classes/class_csgbox.html#class-csgbox
https://docs.godotengine.org/en/latest/tutorials/3d/procedural_geometry/index.html#