float BaseScriptComponent::GetYOrientationRadians(void) const
{
    shared_ptr<TransformComponent> pTransformComponent = MakeStrongPtr(m_pOwner->GetComponent<TransformComponent>(TransformComponent::g_Name));
    if (pTransformComponent)
    {
        return (GetYRotationFromVector(pTransformComponent->GetLookAt()));
    }
    else
    {
        AC_ERROR("Attempting to call GetYOrientationRadians() on actor with no physical component");
        return 0;
    }
}
float LuaScriptComponent::GetYOrientationRadians() const
{
	// return the look at vector of an object to lua
	shared_ptr<TransformComponent> pTransformComponent = MakeStrongPtr(m_pOwner->GetComponent<TransformComponent>(TransformComponent::g_Name));
	if (pTransformComponent)
	{
		return (GetYRotationFromVector(pTransformComponent->GetLookAt()));
	}
	else
	{
		CB_ERROR("Attempting to call GetYOrientationRadians() on object with no physical component");
		return 0.0f;
	}
}