LuckieLordie Posted January 15, 2014 Share Posted January 15, 2014 Hey I was just wondering if I could still set the body property to null and take advantage of the autocull property? Thanks! Link to comment Share on other sites More sharing options...
LuckieLordie Posted January 15, 2014 Author Share Posted January 15, 2014 Okay, after looking through the Sprite code I've come to a conclusion. Having .body set to something won't effect the culling when using .autoCull because autoCull uses the .bounds rectangle and that is updated all by itself. Rich(or anyone else) If I'm wrong feel free to come in and correct me! Link to comment Share on other sites More sharing options...
rich Posted January 15, 2014 Share Posted January 15, 2014 Nope, you're right! Camera culling is to do with the visual bounds, not the physics body. Link to comment Share on other sites More sharing options...
LuckieLordie Posted January 16, 2014 Author Share Posted January 16, 2014 Nope, you're right! Camera culling is to do with the visual bounds, not the physics body. Thanks for the confirmation! Link to comment Share on other sites More sharing options...
Recommended Posts