Switch fixed time system. Logic updates should now happen at 30Hz, physics at 60Hz. (By default, use Python to set.) Some actuators still run at framerate (IPO, Action) for nice smooth animation, and an excuse to buy high end hardware.
Keyboard sensors can now hook escape key. Ctrl-Break can be used from within blender if you've forgotten an end game actuator. Fixed a stupid bug preventing some actuators working (like TrackTo).
This commit is contained in:
@@ -59,7 +59,7 @@ void SCA_PropertyEventManager::RegisterSensor(SCA_ISensor* sensor)
|
||||
|
||||
|
||||
|
||||
void SCA_PropertyEventManager::NextFrame(double curtime,double deltatime)
|
||||
void SCA_PropertyEventManager::NextFrame()
|
||||
{
|
||||
// check for changed properties
|
||||
for (vector<SCA_ISensor*>::const_iterator it = m_sensors.begin();!(it==m_sensors.end());it++)
|
||||
|
Reference in New Issue
Block a user