These pages are auto-generated from self-documenting comments embedded in class files.
For more information on breve and steve, refer to the breve homepage.

Real : Stationary

Class description:

Stationary objects are objects such as floors and walls that may collide with other objects but which do not move in response to collisions. Stationary objects do not have their own velocities or acceleration.

Starting in breve 2.6, stationary objects can be moved and rotated after being created using methods in Real. The shapes can also be changed dynamically using the set-shape method in Real.

Methods:

  • catchShadows
  • getWorldObject
  • register
    catchShadows( self )

    Informs this object that it should display shadows (and/or reflections) of Mobile objects. The shadows and reflections will always be shown on the plane of the object pointing upwards on the Y axis--that is to say, the plane with normal (0, 1, 0). If the object does not have a plane with normal (0, 1, 0), the shadows and reflections will not be displayed correctly. This method must be used in conjunction with the method OBJECTControl:enable-shadows.

    Before using this method, you should also refer to an improved shadowing technique outlined in OBJECTControl.tz:enable-shadow-volumes.


    getWorldObject( self )

    Used internally to get the pointer to the world. Do not use this method in user simulations.


    register( self, theShape, theLocation, theRotation )

    Registers a stationary object using shape theShape at the location specified by theLocation.