Nathan.S wrote:TumeniNodes wrote:Nathan.S wrote:The collision box will still be the nodeboxes data. You can't use an obj for the collisions. Use the old code you had from the collisions and just the mesh for the visiuals.
I really appreciate the help... But I still don't get it : /
I have no idea how to set these up in the script
I've tried every which way and nothing works right. So I guess until I can get more detailed info, they remain as nodeboxes.
Should be something like this:
Code: Select all
minetest.register_node('survival:well_bottom', {
description = 'well bottom',
drawtype = 'mesh',
mesh = 'survival_well_bottom.obj',
tiles = {'default_cobble.png'},
groups = {cracky=3, stone=2},
paramtype = 'light',
paramtype2 = 'facedir',
sounds = default.node_sound_stone_defaults(),
selection_box = {
type = 'fixed',
fixed = {-0.6, -0.5, -0.6, 0.6, .3, .6},
},
Thank you Nathan,
Well, here is how dumb I am.
I had done exactly as above, with both selection and collision, and neither was working.
It is only now, that I attempted to try it with the other angled stair (the "angled_stairL") and it works perfectly!
You see, I have 2 versions of each node, 2 steps and 2 slabs. I made a right and a left of each to 1/2 fix a texture alignment issue (I should rightly have 4 versions of each, 4 stairs and 4 slabs) unless I can figure out how to keep the texture stationary when set from any angle, the same as wooden slabs and wooden planks are.
So, I was correct..., the way I was setting this mesh up was wrong. But, only because I was setting it to the wrong node :P
I really really appreciate all the help everyone is giving me, I realize I am prob frustrating to work with or try to help, and I apologize for that.
There is still the bottom step issue, in both inventory and the darker shading when placed (as shown in the image below)
@sofar, if I am unable to finish the other stair and the 2 slabs, are you still willing to do them?, because the one you provided looks awesome, as I stated earlier, thank you. (I have not had time to try yet so I want to try first at least, using the .blend file you gave)