Page 1 of 1
Animated "Blocks"

Posted:
Mon Jul 18, 2016 15:00
by octacian
...using entities? How hard would that be? on_construct it summons and entity followed by removing the block. Should be fairly simple. In fact, unless I am wrong about the whole idea, I think that it would be better if all blocks were in reality entities, as that would allow "advanced" animating as in the case of pistons from mesecons pushing other blocks.
Re: Animated "Blocks"

Posted:
Mon Jul 18, 2016 17:36
by TenPlus1
Entities slow down the game so using them instead of an actual node would bring the game to a crawl. You could use animated textures for a node if that helps, failing that as you said, use the on_construct to add an entity to the world and remove the node itself.
Re: Animated "Blocks"

Posted:
Mon Jul 18, 2016 21:04
by octacian
The thing is I need an animated teleporter. I guess I could manage to use textures, but some type of "model animation" would give the nicest effect.