Blockland Forums > Modification Help

Spawning a brick under a player

Pages: << < (2/4) > >>

Eeposs:


--- Quote from: ThinkInvisible on June 09, 2012, 07:18:26 PM ---Bricks generally have 0.25TU X and Y, and 0.3TU Z for 1 plate.
Players are usually 5 bricks (1.5 TU) tall.

--- End quote ---
Hehehe thanks, i figured it out though.

otto-san:


--- Quote from: ThinkInvisible on June 09, 2012, 07:18:26 PM ---Bricks generally have 0.25TU X and Y, and 0.3TU Z for 1 plate.
Players are usually 5 bricks (1.5 TU) tall.

1.5*player.scale will get you their height in TU.
I believe datablock.getBrickSizeZ() * 0.3 will get the brick's height.

--- End quote ---
um

a 1x1F takes up a 0.5x0.5x0.2 TU area

ThinkInvisible:

ah, k

phflack:

you could probably look at the autobridge script to see a way to do it

Treynolds416:

Just so you know, a player is 3 TU tall

Pages: << < (2/4) > >>

Go to full version