Completely disable collision checking on unit?
Posted: 06 Oct 2012, 16:16
I have a following setup flying around in something i play around with occasionally:
1) A donut-shaped gunship builder
2) A little gadget that does set-unit-piece-collision-data so that the collision volumes when viewed in alt-v are just as donut-shaped as the unit.
3) An invisible, invincible, zero-radius, zero-height, zero-everything factory unit with blocking=0, collision=false, everything possible collision-related set to false and a yardmap of a single letter "o"
4) a unitscript for said flying donut that keeps the factory attached to the donut.
What this results in: on first attempt of motion, donut is launched into space by some hideus force. Then it falls back from the sky, and starts jittering around. This jitter also seems to grant it superpowers, so it can fly across the map in half a second when given the order (without order, jiter is brownian and fairly constrained)
What do i do? My aim is a flying factory/builder unit that can shoot stuff, and the factory products should fall freely from within the donut.
Any way to completely disable collisions on the factory sub-unit would be perfect, of course.
(bonus level: how do i make the factory sub-unit non-selectable?)
1) A donut-shaped gunship builder
2) A little gadget that does set-unit-piece-collision-data so that the collision volumes when viewed in alt-v are just as donut-shaped as the unit.
3) An invisible, invincible, zero-radius, zero-height, zero-everything factory unit with blocking=0, collision=false, everything possible collision-related set to false and a yardmap of a single letter "o"
4) a unitscript for said flying donut that keeps the factory attached to the donut.
What this results in: on first attempt of motion, donut is launched into space by some hideus force. Then it falls back from the sky, and starts jittering around. This jitter also seems to grant it superpowers, so it can fly across the map in half a second when given the order (without order, jiter is brownian and fairly constrained)
What do i do? My aim is a flying factory/builder unit that can shoot stuff, and the factory products should fall freely from within the donut.
Any way to completely disable collisions on the factory sub-unit would be perfect, of course.
(bonus level: how do i make the factory sub-unit non-selectable?)