Package populus :: Module World :: Class Environment
[frames] | no frames]

Class Environment

The social environment and various features on it

Instance Methods
 
__init__(self, parent=render)
Setup Environment Loads the model and sets collision masks.
 
create_floor(self, root, width, length, texture)
Create the floor, centered around 'root' with size 'width*scale'x'length*scale' and with the given 'texture'.
 
getPhysActor(self)
 
toggleLights(self)
Toggle presence of directional light in the scene
Method Details

create_floor(self, root, width, length, texture)

 

Create the floor, centered around 'root' with size 'width*scale'x'length*scale' and with the given 'texture'.

NOTE: not used at the moment.