Author Topic: Getting the state of a brick?  (Read 733 times)

I need to know when a brick is in a "ghost" state or it is in a "planted" state. How could i manage that?

Quote
NameSpace::onHitObject(%this, %obj, %slot, %col, %pos, %normal)
« Last Edit: November 17, 2012, 01:19:38 AM by tyler0 »

%col.isPlanted()

You can't hit ghost bricks with a projectile (or raycast) though, so what you're doing won't work.

It was useful for what i was using it for :) Thank you!