I want to give one of my star wars ships a turret that is attached to it, but can turn and fire as needed. I'm very close.
What I've done:
I've made the regular ship unit that is moved through triggers. I've made a second "turret" unit with the locust ability and I move it exactly where the regular ship is every time I move the regular ship and make it face the same direction +/- whatever the turret facing is. Both units have zero collision, and both have 0 for sample point in the object editor. The flying heights are static and do not change (the turret is 30 higher than the ship).
Everything works almost perfectly. The only problem is when the ships flies over hills. Whenever that happens the turret's height appears to differ just a bit from the ship's height, so the turret appears to grow upward when you're flying around a cliff, or dip low into the ship. Since their positions are identical, and their flying height is identical, something else is making the turret or ship move vertically.
Does anyone know what this could be?
What I've done:
I've made the regular ship unit that is moved through triggers. I've made a second "turret" unit with the locust ability and I move it exactly where the regular ship is every time I move the regular ship and make it face the same direction +/- whatever the turret facing is. Both units have zero collision, and both have 0 for sample point in the object editor. The flying heights are static and do not change (the turret is 30 higher than the ship).
Everything works almost perfectly. The only problem is when the ships flies over hills. Whenever that happens the turret's height appears to differ just a bit from the ship's height, so the turret appears to grow upward when you're flying around a cliff, or dip low into the ship. Since their positions are identical, and their flying height is identical, something else is making the turret or ship move vertically.
Does anyone know what this could be?