|
activity_culling_radiusactivity_culling_radiusgets/sets the distance at which activity culling should start.Type: float Note: Uses
Manhattan distance.
Think city blocks and distance
traveled in a city.
To go from South West corner of a city to North East corner, you can't travel in a straight line. You would go North one block, East one block, North one block, etc. The actual distance you'd have to travel is the Manhattan distance. Sample Code############### get activity_culling_radius# get current scenescene = GameLogic.getCurrentScene()# activity culling radiusradius = scene.activity_culling_radius############### set activity_culling_radius# get current scenescene = GameLogic.getCurrentScene()# set activity culling radiusscene.activity_culling_radius = 2.0 |