#Torus Shape Mesh

11 messages · Page 1 of 1 (latest)

brisk kernel
#

I'm making a simple 3D game, and I want the stage the game is set on to be the inside of a torus. I am having trouble figuring out how to do this however. It is not one of the included shape types in a primitivemesh, but according to the Godot website there is a class TorusMesh. Does it being a class mean I have to code in the properties of the torus myself? There is an option to use a CSG Torus but you're not supposed to be using those for actual gameplay according to the Godot website so I'm straying away from using it. I'm not sure how this works exactly, so how I use TorusMesh and whether its a good way to set up the stage for my game to be set on would be a great help

violet holly
#

TorusMesh will be added to godot 3.6, but is not in godot 3.5 (the current version)

#

at which point it will be available just like Sphere, Cube, Plane, Cylinder, etc meshes and can be assigned to a MeshInstance

brisk kernel
#

oh ok, ty

#

Guess I'll be making it on the outside of a cylinder for now

#

It'll just be have to have multiple maps to choose from

violet holly
#

the alternative is to compile godot from source, or find a nightly download of the 3.x branch.

#

or just make a torus in blender

#

and import it in Godot

brisk kernel
#

hm, importing it from Godot might work just fine

#

I mean Blender