12-18-2022, 09:52 PM
Trying to understand... I was confused about how to communicate with 3d map triangle...
I think I'll get a better understanding now that I have a working example. I will attempt to add walls and a ceiling.
This was the main part I needed:
And also this:
I didn't realize it needed to be done this way. This is very helpful.
Thanks again, this should be a lot of fun.
I think I'll get a better understanding now that I have a working example. I will attempt to add walls and a ceiling.
This was the main part I needed:
Code: (Select All)
_MapTriangle (0, 0)-(750, 0)-(0, 750), floor2 To(x1, y1, z1)-(x2, y2, z2)-(x3, y3, z3), , _Smooth
_MapTriangle (750, 750)-(750, 0)-(0, 750), floor2 To(x4, y4, z4)-(x2, y2, z2)-(x3, y3, z3), , _Smooth
And also this:
Code: (Select All)
octo_size = 250 'half size
x1 = -octo_size + 250
y1 = -octo_size + 250
z1 = 500
rotate_to_maptriangle x1, y1, z1 'octo floor
x2 = octo_size + 250
y2 = -octo_size + 250
z2 = 500
rotate_to_maptriangle x2, y2, z2 'octo floor
x3 = -octo_size + 250
y3 = octo_size + 250
z3 = 500
rotate_to_maptriangle x3, y3, z3 'octo floor
x4 = octo_size + 250
y4 = octo_size + 250
z4 = 500
rotate_to_maptriangle x4, y4, z4 'octo floor
I didn't realize it needed to be done this way. This is very helpful.
Thanks again, this should be a lot of fun.