Something like public function SetActive(value:Boolean):void { visible = value; body.SetActive(value); } which should work anytime with the recent change to contact listeners with b2d, yet might cause problems with the pooling system.
Something like
public function SetActive(value:Boolean):void {
visible = value;
body.SetActive(value);
}
which should work anytime with the recent change to contact listeners with b2d, yet might cause problems with the pooling system.