how to spawn anything
Posted: Wed Jul 07, 2010 5:31 pm
load(or make) whatever you want
(for example, car in the prefabs phunlets),
select it and copy it(ctrl-c),delete it,then make 2 boxes stacked (not totching),
fixate the bottom box then paste (ctrl-v) in the oncollide of the bottom
one, and this
now unpause it and watch!
scene is here:
(for example, car in the prefabs phunlets),
select it and copy it(ctrl-c),delete it,then make 2 boxes stacked (not totching),
fixate the bottom box then paste (ctrl-v) in the oncollide of the bottom
one, and this
- Code: Select all
density = 0;
e.other.density = 0
now unpause it and watch!
scene is here: