mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-22 09:45:03 +00:00
# Smoother unit rotation.
Added m_orientation_smoothed to entities, which follows m_orientation but is limited to changing at a certain angular rate. This was SVN commit r4901.
This commit is contained in:
@@ -101,7 +101,7 @@ void CEntity::ScriptingInit()
|
||||
AddClassProperty( L"group", &CEntity::m_grouped, false, (NotifyFn)&CEntity::checkGroup );
|
||||
AddClassProperty( L"traits.extant", &CEntity::m_extant );
|
||||
AddClassProperty( L"actions.move.turningRadius", &CEntity::m_turningRadius );
|
||||
AddClassProperty( L"position", &CEntity::m_graphics_position, false, (NotifyFn)&CEntity::teleport );
|
||||
AddClassProperty( L"position", &CEntity::m_position, false, (NotifyFn)&CEntity::teleport );
|
||||
AddClassProperty( L"orientation", &CEntity::m_orientation, false, (NotifyFn)&CEntity::reorient );
|
||||
AddClassProperty( L"player", (GetFn)&CEntity::JSI_GetPlayer, (SetFn)&CEntity::JSI_SetPlayer );
|
||||
AddClassProperty( L"traits.health.curr", &CEntity::m_healthCurr );
|
||||
|
||||
Reference in New Issue
Block a user