A system that generates haptic effects using an actuator receives a haptic effect definition that defines a haptic effect. The system pre-processes the haptic effect definition by determining if the actuator is capable of playing the haptic effect. The system then post-processes the haptic effect definition by adjusting a force value based on an estimate or measurement of a state of the actuator during a playing of the haptic effect.