I'm trying to make a dock of sorts, something that's partly on land and partly over water. But I haven't quite figured out what I need to do to make some parts of the construction be required to be over land and some over water (right now I can place the whole thing on land).
How do I force it to be at water level (not just whatever elevation the terrain is)?
How do I avoid collisions with the water when placing assets in the water?
edit: For example, suppose I want to put a building at the water's edge, and I don't want it to collide with the water:
result.models[#result.models + 1] = { id = "building/era_c/ind_2_3x3_01_02.mdl", transf = transf.rotZYXTransl(transf.degToRad( 0.0, 0.0, 0.0), vec3.new( 50.0, 50.0, 1.0)) }
I've tried making a modified building .mdl with "skipCollision = true" (not entirely sure where to put it), commenting out the boundingInfo, everything I could think of, but no luck so far.
Any tips?